Skip to content

Global automation token cannot log-tail for newly created services #1335

@necipallef

Description

@necipallef

Version

Fastly CLI version v10.15.0 (0a1665b)
Built with go version go1.22.7 linux/amd64 (2024-11-05)
Viceroy version: viceroy 0.9.7

What happened

I create an automation token on Fastly dashboard, it says it has access to All Services and it is Global, but I create a Compute service later and when I run fastly log-tail --service-id=<SERVICE ID> I get the following error:

INFO: Managed logging enabled on service REDACTED

WARNING: non-200 resp 403

ERROR: unrecoverable error, response code: 403.

If you believe this error is the result of a bug, please file an issue: https://github.com/fastly/cli/issues/new?labels=bug&template=bug_report.md

If I go to Fastly dashboard, delete the old token, and create new one exactly the same way, and use it with fastly profile update --automation-token then log-tail starts working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions