Skip to content

Document 10-permission limit and any other limits for access tokens #1782

@cewkrupa

Description

@cewkrupa

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

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions