# Analytics license was not found. errorCode: 1001

**URL:** <https://community.bitmovin.com/t/analytics-license-was-not-found-errorcode-1001/3109>\
**Category:** Support\
**Created:** [July 15, 2024, 7:25pm UTC](https://community.bitmovin.com/t/analytics-license-was-not-found-errorcode-1001/3109 "2024-07-15T19:25:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipe.caracciolo](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@felipe.caracciolo](https://community.bitmovin.com/u/felipe.caracciolo)\
**Post date:** [July 15, 2024, 7:25pm UTC](https://community.bitmovin.com/t/analytics-license-was-not-found-errorcode-1001/3109/1 "2024-07-15T19:25:03Z")

</div>

### Product

Analytics

### Question

Hi, I’ve been trying to use the Python SDK to automate Analytics data querying and I’ve been stumbling upon the following error:

BitmovinError: The analytics license resource was not found!  
developerMessage: Analytics license was not found.  
errorCode: 1001  
request:  
method: POST  
url: [https://api.bitmovin.com/v1/analytics/queries/count](https://api.bitmovin.com/v1/analytics/queries/count)  
body: {“dimension”: “IMPRESSION\_ID”, “end”: “2024-07-14T23:59:59Z”, “filters”: [{“name”: “VIDEO\_STARTUPTIME”, “operator”: “GT”, “value”: 0}], “licenseKey”: “”, “start”: “2024-07-14T00:00:00Z”}  
response:  
httpStatusCode: 404  
body: {“requestId”:“2efdabe4-0136-41a0-a1f7-54fea46942d8”,“status”:“ERROR”,“data”:{“code”:1001,“message”:“The analytics license resource was not found!”,“developerMessage”:“Analytics license was not found.”}}

Heres the code snippet:

total\_plays = AnalyticsCountQueryRequest(  
start=datetime(2024,7,14),  
end=datetime(2024,7,14,23,59,59),  
license\_key=‘’,  
dimension=AnalyticsAttribute.IMPRESSION\_ID,  
filters=[AnalyticsGreaterThanFilter(name=AnalyticsAttribute.VIDEO\_STARTUPTIME, value=0)]  
)  
result = CountApi(‘’)  
result.create(total\_plays)

I’ve tried everything and every single one of my License Keys from the Dashboard does not work. I don’t know if I’m missing something, but I tried variations (no dashes, upper case, etc.) and nothing seems to work. Is this a server side error?

---

<div class="post-metadata">

**Author:** ![ludovic.michaud](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/ludovic.michaud/32/811_2.png) [@ludovic.michaud](https://community.bitmovin.com/u/ludovic.michaud)\
**Post date:** [July 18, 2024, 4:14pm UTC](https://community.bitmovin.com/t/analytics-license-was-not-found-errorcode-1001/3109/2 "2024-07-18T16:14:42Z")

</div>

Hi,  
The problem is most likely that the combination of License Key, API Key and Org ID doesn’t match (eg. you are trying to use a license key that is not part of the OrgID you are trying to use).

I sent you a direct message asking you for some more details. To avoid sharing your credentials with the rest of the community, let’s continue either there on in a support ticket.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/1ab86334145095b0af9c5b924fa3ae6d920b6482.png) [@system](https://community.bitmovin.com/u/system)\
**Post date:** [July 18, 2024, 5:14pm UTC](https://community.bitmovin.com/t/analytics-license-was-not-found-errorcode-1001/3109/3 "2024-07-18T17:14:59Z")

</div>

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.
