Hi everyone,
I’m working with Directus multi-language collections using relational tables, and I’m trying to insert and access records using the Directus SDK from a custom script.
Error I’m getting:
[ERROR] [RESERVATION] Cannot access reservation collection: You don't have permission to access this.
[ERROR] [RESERVATION] Status: 403
What I’ve already checked:
-
Assigned the Administrator role to the user
-
Verified collection-level permissions (read/create/update)
-
Regenerated the user access token
-
Confirmed the correct environment variables are being used
Despite all this, I’m still getting the same 403 permission error when accessing or creating records via the SDK.
Question:
-
Is there anything specific I should check for multi-language + relational collections?
-
Are there any known limitations or extra permission requirements when using the Directus SDK with user tokens?
-
Could this be related to policy permissions, system collections, or role caching?
Any guidance or suggestions would be really appreciated.