Web Developer
I am using the Python SDK version 9.0.3 (latest) and I am seeing this generic HTTP error pop up.
400 request cannot have request body
The code is dead simple :
from appwrite.client import Clientfrom appwrite.services.databases import Databasesfrom appwrite.services.users import Usersfrom appwrite.exception import AppwriteException
from app.core.config import settings
client = Client()(client .set_endpoint(settings.appwrite_endpoint) .set_project(settings.appwrite_project_id) .set_key(settings.appwrite_api_key))
database = Databases(client)users = Users(client)
def verify_user_id(user_id: str) -> bool: try: users.get(user_id) return True except AppwriteException as e: print(f"Error verifying user ID '{user_id}' : {e.code} {e.response} {e.message}") return FalseOther support requests seem to have the same problem since the release of the Network feature.
Has anyone found a fix for this?