Hi,
I have tried many times before, when access token invalid or expired, 401 was responded.
But now, when the token expired, I get a 500 error.
Request:
curl --location 'https://api.music.amazon.dev/v1/artists/B00KIIHIWC/tracks?limit=10' \
--header 'x-api-key: amzn1.application.Masked' \
--header 'Authorization: Bearer Atza|Masked'
Response:
{
"status": 500,
"code": "INTERNAL",
"message": "Internal Server Error.",
"reference": "27c4bdde-3f4a-471d-8dfb-57f390e77967"
}
(I’m sure all the required params are correct. After I refreshed the token and replaced it with the new access token, the API call was successful.)
Do you have any page that lists all the response codes and explains them?