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
- Failed to load data from database
My app broken, it throw AppwriteException exception. Few days ago it works well. AppwriteException: , ClientException with SocketException: Failed host lookup:...
- AI feature by functions?
I'm creating a website where, in short, users can index certain genealogical content. In connection with the development of AI, I was thinking about introducing...
- 500 Internal Error when Project is opene...
After migrating from 1.6.1 to 1.7.4 I noticed this strange behaviour: When I open a project in a separate tab I get a 500 internal error. However, then I simpl...