# Not able to login via API

**URL:** <https://community.amazondeveloper.com/t/not-able-to-login-via-api/6661>\
**Category:** Amazon Music\
**Created:** [September 24, 2024, 4:44am UTC](https://community.amazondeveloper.com/t/not-able-to-login-via-api/6661 "2024-09-24T04:44:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishesh\_Kumar](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Vishesh\_Kumar](https://community.amazondeveloper.com/u/Vishesh_Kumar)\
**Post date:** [September 24, 2024, 4:44am UTC](https://community.amazondeveloper.com/t/not-able-to-login-via-api/6661/1 "2024-09-24T04:44:44Z")

</div>

I am not able to generate the Auth Token.  
[https://api.amazon.com/auth/O2/token](https://api.amazon.com/auth/O2/token)

using scope music::profile:read  
Getting below error

```auto
{
    "error_index": "Chmk1lyviZ5X2Ba5ORWtFQAAAAAAAAABnUhFhEW9x8vk9rf62riOCHaadrh5tJNjHH0iV2zstow6gsABS3H47DQx-aZ-hPxUFJaNbLJuOddgAsHvqxjhp_R_vV1Bi-tRZz3YQczh7WgElUrXgZ0GcrkPrDp3Oezcsbx3f2fjaYxLaaiQ1WmWnPtFxn2_aL9Qtz2Eqa-j1zLnZVI6NzVhFOz2lGkTbWPvB5b19zZp66t022_tr-u84valjyDfpqSErIMEkw==",
    "error_description": "The request has an invalid parameter : scope",
    "error": "invalid_scope",
    "request_id": "6b7e096d-9432-4a02-9555-f8e0a679027f"
}

```

Can some one help me in this please.  
Thanks

---

<div class="post-metadata">

**Author:** ![Marco](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Marco](https://community.amazondeveloper.com/u/Marco)\
**Post date:** [December 2, 2024, 5:53pm UTC](https://community.amazondeveloper.com/t/not-able-to-login-via-api/6661/2 "2024-12-02T17:53:05Z")

</div>

Hi Vishesh,

the API is in closed BETA. The error message you are seeing suggests, that your application profile ID has not been onboarded and is not allowlisted for this particular scope.

If that is the case, please follow the instructions in the API docs to file a request to be onboarded.  
Please note, that we are not onboarding hobbyists or private developers for the time being.
