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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- 500 Server error
getting same 500 status This is my appwrite project: https://cloud.appwrite.io/console/project-fra-691932db0036241caa0e/overview/platforms Help how to open th...