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
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- Dev Keys not working
looks like dev key are broken they simply don't work i suggest remove them until you have them working otherwise they confuse devs took me few minutes trying ...