Hi, I am trying to update the permissions of a record in my database using admin dynamic key via appwrite function.
When invoking the function, I am getting these errors:
TypeScript
Error Code: 500``` Ex ID: 67fa8975ce1118c25a3d
```Internal curl errors has occurred within the executor! Error Number: 52. Error Msg: Empty reply from server
``` Ex ID: 67fa8975964b397744b0
```Internal curl errors has occurred within the executor! Error Number: 56. Error Msg: Recv failure: Connection reset by peer
``` Ex ID: 67fa897617abaf70e888
Function ID: 67f2321a003a53e41053
What would these errors mean? And how do I get rid of them?
I am attaching my appwrite.js. The issues are happening when processUserCredits has the updateDocument. If I comment it out it does not error out.
Let me know if you require more info or would like access to the github repo
TL;DR
Attempting to update permissions with an admin key via appwrite function is resulting in multiple curl errors during invocation. Errors suggest connection issues with the server. Check IP, port, and connection settings. Make sure the server is reachable. Check appwrite.js for potential issues.Recommended threads
- I recently switched to TablesDb. When li...
olddb.list_documents( queries =[ Query.order_desc("timestamp"), Query.equal("isPosted",[False]) ] ) Above works fine and reruns documents But below don't return...
- Database error validating 'min' and 'max...
I keep seeing an error when I try to add a column to a database table within the AppWrite cloud UI. I also see this error when trying to create or update a reco...
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...