When executing the function locally it works fine, but when the function is deployed I get this error:
TypeScript
During handling of the above exception, another exception occurred:
self._databases.update_transaction(transaction["$id"], commit=True)
File "/usr/local/server/src/function/runtime-env/lib/python3.12/site-packages/appwrite/services/tables_db.py", line 212, in update_transaction
return self.client.call('patch', api_path, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/server/src/function/runtime-env/lib/python3.12/site-packages/appwrite/client.py", line 137, in call
raise AppwriteException(response.json()['message'], response.status_code, response.json().get('type'), response.text)
appwrite.exception.AppwriteException: Server Error```
Not sure what could be going on since it works consistently on my local machine.
TL;DR
Function update_transaction() is resulting in Internal Server Error when executed on Cloud, even though it works fine locally. The developers are receiving a 500 Server Error: Internal Server Error when trying to update a transaction on the Cloud server.Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...