Skip to content

403 "Unauthorized: Public Access Token is missing required permissions #1

Open
@hatzipanis

Description

@hatzipanis

@ericallam I'm getting some weird behavior that I just can't seem to resolve. I have a fresh install of this example project, and I follow the README. Upon hitting Get Weather Report at /weather I get:

POST
https://api.trigger.dev/api/v1/tasks/ai-weather/trigger
[HTTP/2 403  365ms]

Uncaught (in promise) TriggerApiError: 403 "Unauthorized: Public Access Token is missing required permissions. Token has the following permissions: 'write:tasks:openai-streaming'. See https://trigger.dev/docs/frontend/overview#authentication for more information."

It looks like the task name is called incorrectly, so I've tried updating that but I still get the same error. How do I determine what the missing required permissions are?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions