DennisLBC
I recently created a new collection, added all my attributes and tries to save to it. Initially I got an error about permissions which told me I was at least pointed at the right collection. I updated the permissions and now my catch appwriteexception always just returns Server Error when I try to post something to the collection.
TypeScript
message: Server Error,
code: 500,
type: general_unknown,
version: 0.11.57}
general_unknown: #0 ClientMixin.prepareResponse (package:appwrite/src/client_mixin.dart:73:9)```
- I have gone through and triple checked every single attribute is typed properly and exists.
- I can manually add items to the collection using the UI without issue.
[SOLVED] Caused a single letter typo in one attribute. If you have this problem, make sure you Ctrl F and search for every single key as its written in your code. Appwrite, it would be helpful if instead of just a generic server error, it said attribute error.
TL;DR
Issue: The user encountered a server error when trying to post something to a specific collection in their app.
Solution: The problem was caused by a typo in one of the attributes of the collection. By ensuring that all attribute keys are typed correctly in the code, the error was resolved. It would be helpful if the error message provided more specific information about the attribute error. Recommended threads
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...