This article provides a solution for the issue where a user gets an error when validating the Fastly credentials.
Issue
User gets an error when validating the Fastly credentials.
Affected products and versions
- Adobe Commerce (all deployment methods): All versions
- Extension or technology (Fastly, New Relic, etc.) version Fastly
Solution
-
Make sure you have the correct Fastly service ID and API token and try to validate again. For detailed instruction, refer to Test the Fastly credentials in our developer documentation.
-
If the verification of the credentials fails, run the following curl command to confirm the status of the service:
curl -H "Fastly-Key: <API key>" https://api.fastly.com/service/<service ID>/version/active
-
If the above command returns an error similar to: {"msg":"Token $TOKEN expired at 2021-09-28T02:03:37Z"}, submit a support ticket to request a new API token.
To learn how to submit a support ticket, refer to Adobe Commerce Help Center User Guide > SUPPORT TICKETS in our support knowledge base.
Note: Never share any passwords or valid/active API tokens directly in the ticket as we will have to revoke the current token and generate a new one for security reasons.