-
Notifications
You must be signed in to change notification settings - Fork 401
Closed as not planned
Closed as not planned
Copy link
Labels
InfrastructuredocumentationRelated to the public documentationRelated to the public documentationenhancementNew feature or requestNew feature or request
Description
What is the improvement or update you wish to see?
I've been trying out Liveblocks and ran into the following error while calling the /authorize-user REST API endpoint:
{
"error": "UNPROCESSABLE_ENTITY",
"message": "Value at key 'permissions': A token cannot have more more than 10 permissions.",
"suggestion": "Please ensure the data follows the correct format",
"docs": "https://liveblocks.io/docs/api-reference/rest-api-endpoints"
}I checked
- the docs on authenticating with an access token
- the REST API docs for
/authorize-user - the OpenAPI spec
and could not find any mention of this 10-permission limit, or any other limits.
Is there any context that might help us understand?
I was probably doing something weird while learning Liveblocks (I don't actually need 10 permissions in my token), but I spent some time pretty confused why things weren't working until I managed to find that error message.
Does the docs page already exist? Please link to it.
https://liveblocks.io/docs/authentication/access-token#Authenticating
https://liveblocks.io/docs/api-reference/rest-api-endpoints#Authentication
Metadata
Metadata
Assignees
Labels
InfrastructuredocumentationRelated to the public documentationRelated to the public documentationenhancementNew feature or requestNew feature or request