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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...