Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hatzipanis opened this issue Feb 20, 2025 · 0 comments

Comments

@hatzipanis
Copy link

hatzipanis commented Feb 20, 2025

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant