Insufficient Privileges Apple Music API

Hi! We are sometimes logging this error when requesting an Apple Music API endpoint with a good access token:

"{"errors":[{"id":"XXXXX","title":"Insufficient Privileges","detail":"User does not have access to privilege: CloudLibrary","status":"400","code":"40015"}]}"

Any idea why this error is returned for a user?

This error occurs when the user does not have an active Apple Music subscription. This could happen even if the user token is good. We'll look into improving the error message. Thanks!

Insufficient Privileges Apple Music API
 
 
Q