Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an server error (500) thrown, if i try to set $permissions to each document. Is it possible to set permissions with upsert?
Depends on what the permissions are being set to. Also are you doing it server side with an API key or client side?
I'm doing it server side and try to set Teams and Teamrole permissions. But why is there a difference depending on what the permissions are being set to?
I also read in another post, that upsert is only supported from v1.8.x and thats very confusing tbh
Then I recommend updating. Make sure to make backups before of the database and the entire instance. Also that they work. You should first update and migrate to 1.7.5
But why? When you guys drop a feature in version X and then say its only working in version Y it really doesnt create a level of trust
I also found, that it only sometimes fails with permissions being set. So whats the official rule here? The documentation does not help with anything regarding this
Except if you're setting it server sided and with proper API key permissions, I'm not sure what could be the issue. Maybe it has been fixed in future versions, that's why I recommend updating
Does the following error message help finding the problem?
Looks like a bug. Probably solved in future versions
Thats very disapointing tbh. We try to run appwrite in a stable version and really looked forward to updates on batches and transactions. But features being announced and then fixed in the next major version is not very promising.
Recommended threads
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...