Request with error 500

Good morning
When I log in I get a 500 error.
here is my request:

curl --request GET 'https://api.music.amazon.dev/v1/me/playlists?limit=2' \
--header 'x-api-key: amzn1.application-oa2-client.2a2XXXXXXXXXXXX' \
--header 'Authorization: Bearer amzn1.application.fd2XXXXXXXXXXXXXXXX'

and answer

{"status":500,"code":"INTERNAL","message":"Internal Server Error.","reference":"a64981bd-b6a4-48d2-9414-be6643f2bafa"}

Thanks for your help

Hi Jeremy, thanks for bringing this to us.
Have you used Amazon Music with the account you’re getting the token with?

Looks like you are passing the application ID as your token. You need to use the client ID to acquire an Oauth token as described here…

Also, has your Application been onboarded to allow access? your application ID would have to be enabled by Amazon Music before you will be able to access the API

1 Like

Hi, I have the same problem as Jeremy and I think it’s because of what you said of having to enable my application ID by Amazon Music. Could you explain how to do it or where can I find that information?
Thank you