# Application not authorized for claiming

**URL:** <https://www.thethingsnetwork.org/forum/t/application-not-authorized-for-claiming/55942>\
**Category:** AWS\
**Created:** [March 18, 2022, 8:52am UTC](https://www.thethingsnetwork.org/forum/t/application-not-authorized-for-claiming/55942 "2022-03-18T08:52:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliviergrenoble](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/oliviergrenoble/32/35697_2.png) [@oliviergrenoble](https://www.thethingsnetwork.org/forum/u/oliviergrenoble)\
**Post date:** [March 18, 2022, 8:52am UTC](https://www.thethingsnetwork.org/forum/t/application-not-authorized-for-claiming/55942/1 "2022-03-18T08:52:31Z")

</div>

Hi,  
I’m trying the claiming feature. I have used the CLI to authorize my application for claiming:

```auto
ttn-lw-cli applications claim authorize [application-id] 

```

However, when doing the claiming from an Android application, I still get the error:

`networkResponse.body: {"code":9,"message":"error:pkg/deviceclaimingserver/enddevices/cluster:application_not_authorized (application not authorized for claiming)","details":[{"@type":"type.googleapis.com/ttn.lorawan.v3.ErrorDetails","namespace":"pkg/deviceclaimingserver/enddevices/cluster","name":"application_not_authorized","message_format":"application not authorized for claiming","correlation_id":"5dba663f51e74bf7b630f8540b1834f0","code":9}]}`

In the claiming request, I’m using a Personal API Key, I mean the “global” key with all the rights (the text says “Grant all current and future rights”).

When the above CLI command is executed, an API key is created. This is not the key that I’m using so obviously I should retry with the created API Key. How can I do since I don’t have the full key but just the keyId (visible in the console)?

Thanks

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [March 18, 2022, 9:06am UTC](https://www.thethingsnetwork.org/forum/t/application-not-authorized-for-claiming/55942/2 "2022-03-18T09:06:14Z")

</div>

This API call is marked as experimental - which given the rapid evolution of TTS over the last year is one of the more upfront descriptions - there’s been plenty that’s not been marked that has had to be debugged.

I’d try at a command line on a desktop first of all, if not, then post in Slack in the-things-stack and tag Hylke &/or Adrian.
