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.
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.
Recommended threads
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...