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
- local (self-hosted) sites issues
setup: - `composer run installer:dev` issues - Getting error when visiting the site ```Synchronous function execution timed out. Use asynchronous execution in...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- local build `composer installer:dev` iss...
setup - dev container (default linux universal) WSL (test with gh codespace too) - php 8.5.7 - all extensions installed - `composer install` fine - `composer...