# Unable to access timeseries via API Exporer

**URL:** <https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [February 25, 2019, 3:46pm UTC](https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769 "2019-02-25T15:46:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sorin\_dumitresc](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sorin\_dumitresc](https://community.dynatrace.com/u/sorin_dumitresc)\
**Post date:** [February 25, 2019, 3:46pm UTC](https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769/1 "2019-02-25T15:46:00Z")

</div>

Hi guys,

I’m having troubles in accessing timeseries via API Explorer. I’m always getting the same Authentication error even thought the token is the right one.

Any idea why?

[dyna.png](https://answers.dynatrace.com/storage/attachments/19862-dyna.png)

---

<div class="post-metadata">

**Author:** ![suresh230591](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/suresh230591/32/280_2.png) [@suresh230591](https://community.dynatrace.com/u/suresh230591)\
**Post date:** [February 25, 2019, 4:06pm UTC](https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769/2 "2019-02-25T16:06:51Z")

</div>

Hi, make sure you have provided enough access to your token for specific API. See below image

 ![19863-api-access.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/e/1e06423353ffddac4b953368599d81bce48802ac.png)

---

<div class="post-metadata">

**Author:** ![sorin\_dumitresc](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sorin\_dumitresc](https://community.dynatrace.com/u/sorin_dumitresc)\
**Post date:** [February 25, 2019, 4:17pm UTC](https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769/3 "2019-02-25T16:17:23Z")

</div>

Still returns Unauthorized

[dyna2.png](https://answers.dynatrace.com/storage/attachments/19864-dyna2.png)

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [February 25, 2019, 4:53pm UTC](https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769/4 "2019-02-25T16:53:19Z")

</div>

Hi Sorin,

I think the problem is you are using the “ **Token name** ” instead of the “ **Generated Token** ”. See the Request URL in your first screenshot. You should use the **Generated Token** not the **Token name** to authorize at the top of the page. That should resolve your issue.

Thanks

NJ

---

<div class="post-metadata">

**Author:** ![sorin\_dumitresc](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sorin\_dumitresc](https://community.dynatrace.com/u/sorin_dumitresc)\
**Post date:** [February 26, 2019, 7:21am UTC](https://community.dynatrace.com/t/unable-to-access-timeseries-via-api-exporer/19769/5 "2019-02-26T07:21:34Z")

</div>

Thanks Ugochukwu. Using generated token is the solution.
