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
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- ClientException with SocketException: Cl...
hi <@564158268319203348> i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as reque...
- NEW ERROR Invalid document structure: At...
Error: ```AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)``` I’m encounter...