TypeScript
Traceback (most recent call last):
File "/home/ryanbaig/.pyenv/versions/radon-env/lib/python3.12/site-packages/appwrite/client.py", line 114, in call
response.raise_for_status()
File "/home/ryanbaig/.pyenv/versions/radon-env/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://cloud.appwrite.io/v1/databases/radon-db/collections/settings-collection/documents/1272469551539556445
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryanbaig/.pyenv/versions/radon-env/lib/python3.12/site-packages/discord/ui/view.py", line 430, in _scheduled_task
await item.callback(interaction)
File "/home/ryanbaig/Desktop/Projects/Python/Radon-Bot/views.py", line 250, in add_channel
db.update_document(
File "/home/ryanbaig/.pyenv/versions/radon-env/lib/python3.12/site-packages/appwrite/services/databases.py", line 996, in update_document
return self.client.call('patch', api_path, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ryanbaig/.pyenv/versions/radon-env/lib/python3.12/site-packages/appwrite/client.py", line 129, in call
raise AppwriteException(response.json()['message'], response.status_code, response.json().get('type'), response.json())
appwrite.exception.AppwriteException: Invalid document structure: Attribute "log-channel" has invalid format. Value must be a valid range between -2,147,483,647 and 2,147,483,647
the log-channel attr is an integer attr with minimum 1 char and max 30.
TL;DR
Developers are experiencing a Python SDK error with a 400 Bad Request in the Appwrite API due to an invalid format for the "log-channel" attribute. The value provided must be within the valid range of -2,147,483,647 and 2,147,483,647.Recommended threads
- CORS preflight returns 500 on Dart funct...
Hey everyone 👋 I’m running a Dart cloud function, Every time I respond to a preflight (OPTIONS) request, I get a 500 internal error, and the logs show: ```NoSu...
- Auto Updating Backend & Auth via Appwrit...
<@870607367597850624> Hey everyone 👋 I wanted to ask to ask for a friend, he’s asking if Appwrite be used in a similar way to Supabase when integrated with AI ...
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...