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
- Migrating functions from between regions...
Hi Appwrite team, I am running into rate limits where only part of my 77 functions are being successfully migrated (only 50 went through) via the Migration tab ...
- Dynamic Roles
I tried to store a row with this permissions: permissions.push( Permission.read(Role.users("verified")), Permission.write(Role.label(`c-${calend...
- Column size update error – "Invalid inde...
Hey everyone, I’m running into an issue when trying to update the size of an existing column in my Appwrite database. I’m trying to change the size from 30 to 5...