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
- Bug Report: type generation for enum of ...
### 👟 Reproduction steps in the enum element value, instead of English, use another language (Khmer), in my case Khmer text. ``` export enum ProvinceType { ...
- Github Repos are not appearing on sites ...
Hi, Has anyone had recent issues with sites feature where github repos are not appearing? I even tried unliking and giving it a shot! It does not even show up, ...
- [Bug] Cannot set any token expiry to Nev...
Tried with file tokens and api keys