I took reference of node meilisearch template
And? What did you do exactly?
Installed Appwrite locally and prepared a tar.gz of the directory
Then created a function for it in php
What directory?
Sync with meilisearch
Someone told me that there might be issue with virtual path
How are you deploying the function? Did you manually create an archive and upload in the Appwrite console? If so, something might have been wrong with how you created the archive
The best thing to do is start with the starter template whether on git or the CLI. Deploy that and make sure that works. Then, iterate on the code
Ok will try that
anyone?
Did you use the CLI to initialize the code?
Yes
What exactly did you do?
Appwrite init project
Appwrite init functions
Appwrite deploy functions
And what's the function code that was deployed?
And what's the error now?
This code
And same error
Can you perform the same operation with the code above? In your system locally
Coz I deployed the same in appwrite cloud
And getting the same error
There might be some mistakes in my utils.php code
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...