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

[FEATURE REQUEST] Tell user what kind of API key scope is typically needed #1185

Open
matanlurey opened this issue Apr 18, 2024 · 2 comments

Comments

@matanlurey
Copy link

Here is the workflow I was using:

$ fastly compute publish

...

Service name: [hello-fastly] 

✗ Creating service

ERROR: the Fastly API returned 403 Forbidden: Read only tokens are not allowed to access this endpoint.

It would be nice to explain what scope is needed to access the endpoint:

I am guessing "global"

@Integralist
Copy link
Collaborator

👋🏻

Correct. You're going to need a 'global' token as the CLI has to make API calls that CREATE and UPDATE Fastly resources.

@matanlurey
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants