Web Developer
I'm experiencing an issue with my Appwrite project where I'm getting the error: "Invalid document structure: Attribute '$tenant' has invalid type. Value must be a valid integer"
Environment:
- Using Appwrite Cloud (not self-hosted)
- SDK version: 13.0.2
- Frontend: React + Vite
- TypeScript project
Issue details:
- This error occurs during authentication (both sign-in and sign-up)
- It also happens with database operations like fetching posts
- Clearing browser cache fixed the authentication issue, but I'm having partial problems with images
- Some images from storage display correctly, while others don't show up at all
What I've tried:
- Modified the authentication flow to remove session deletion before creating a new session
- Cleared browser cache (fixed authentication)
- Checked my configuration settings