Only one Collection “ActivityPharmacyContentTagState” is not accessible for any user/on any environment(development/UA/Sandbox/Production), Error Code 403 Forbidden
Observed behavior
I recently created this collection ActivityPharmacyContentTagState along with others but I am getting an Invalid data error with this collection only, here are screenshots -
You might have ran accross a recent issue that we discovered regarding the permissions cache.
I have updated the cache for your project, which should work around your issues while we are working on a permanent fix.
I am still getting same issue for ActivityPharmacyContentTagState. I have cleared the browser cache and relogin to FA dashboard, but this issue still persist.
Looking at the data from our side, we can see a difference between this collection and the others: the first letter of the collection name is a capital letter, whereas all other collections start with a lowercase letter.
Is there any reason why your collection has been declared with a capital letter?
On my side, I’ll try to reproduce the error and work on a fix.
I tried to reproduce the issue you described, but without success.
I can see that your collection seems correctly configured on our side. Users have the right to access it, and permissions are correctly computed on our side.
Do you still experience the issue?
If yes, could you please share with us more info about the query that is failing? I would need the targetted URL, and the response from the server.
I would also need the declaration of this collection in your code, and in particular this line:
Hi @GuillaumeGautreau Thanks for your response, and highlighting the issue. It is an uppercase issue with the collection name(as you suggested). I just made it to lowercase and it started working.
Hi @Nicolas.M and @GuillaumeGautreau FYI - I found the discrepancies across the environments. After changing the collection name to lowercase it worked well on my local and development environment and the same build release was pushed to UA and Sandbox. However, it is not working on UA and Sandbox environments.
It creates different URL for ActivityPharmacyContentTagState collection on UA and SB -
Notice that on UA and SB ActivityPharmacyContentTagState collection name starts with uppercase. I confirmed that all environments have the same release except production.
We are following the same pattern for other collections as well. I have attached the server response in the description of this ticket. Please let me know if you need any other information.
Thanks @GuillaumeGautreau, forestadmin-schmea.json was somehow not committed, and it is re-generated in the development environment but not in other environments.
I appreciate your help, and marking this as resolved!