# Postman issue while calling Dynatrace API

**URL:** <https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [February 3, 2021, 4:18pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411 "2021-02-03T16:18:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alberto-jesus\_d](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@alberto-jesus\_d](https://community.dynatrace.com/u/alberto-jesus_d)\
**Post date:** [February 3, 2021, 4:18pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/1 "2021-02-03T16:18:36Z")

</div>

Hi,

I got an error using Postman, I hope you handled it before and know how to solve it. The thing is that I’m trying to connect the latest version of Postman (8.0.4) using Dynatrace GitHub Collections ([GitHub - sergiohinojosa/dynatrace-api-postman-collections · GitHub](https://github.com/sergiohinojosa/dynatrace-api-postman-collections)) to Dynatrace API. I have created _env variables_ to resolve the _DT tenant_ and _API-Token_. The problem comes when I run the request, I am getting the message "Unsupported web browser ":

 ![28154-1612368731362.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/8/281377aff1b8026de2378c3c99ab061eddad42cb.png)

It guess it’s an issue with embedded Web browser from Postman. The Authorization method that I’m using is _API Key:_

 ![28155-1612368880961.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/3/532587b5a9e91ce3e8ba38f2a748b0c7b938eb4d.png)

Did you find this issue before?

Thanks in advance.

Alberto.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [February 3, 2021, 5:32pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/2 "2021-02-03T17:32:36Z")

</div>

I guess you need to update how you authenticate with the token. It should look rather like this:

 ![28126-1612373546284.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3f88d30cc9e3763eeb80def3d536828ea99ab002.png)

---

<div class="post-metadata">

**Author:** ![sergio\_hinojosa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sergio_hinojosa/32/39658_2.png) [@sergio\_hinojosa](https://community.dynatrace.com/u/sergio_hinojosa)\
**Post date:** [February 3, 2021, 8:07pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/3 "2021-02-03T20:07:46Z")

</div>

Hi Alberto,

I have not tried with the new Postman version but it should work (suppouse). Unless the collections are not compatible anymore. The collections are being generated from our API spec. I have not updated them for a while now, so you might not have a lot of endpoints (I’ll add it to my todo list).

Can you post the request from the log console of postman? with the info (except the tenant and token of course)?

_As a side note: Regarding passing the Token, both methods are accepted. You can pass it as a Header or a Query parameter. Recommended is always as a header parameter. The collection has it as query since sometimes is needed to access Dynatrace behind reverse-proxyy. A reverse-proxy normally strips down the header, and the query won’t be stripped down. On the down side, a query parameter might be stored on the audit log of the webserver, so something to keep in mind._  
[_https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication/?http-header%3C-%3Equery-parameter=http-header_](https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication/?http-header%3C-%3Equery-parameter=http-header)

---

<div class="post-metadata">

**Author:** ![sergio\_hinojosa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sergio_hinojosa/32/39658_2.png) [@sergio\_hinojosa](https://community.dynatrace.com/u/sergio_hinojosa)\
**Post date:** [February 3, 2021, 8:34pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/4 "2021-02-03T20:34:12Z")

</div>

[@Alberto D.](https://answers.dynatrace.com/users/44370/view.html) I just updated my postman and the collections are compatible with the version 8.0.4. By taking a closer look at your request I notice that the parameters are not setted. Try again by either unselecting them or setting a value. THe genration of the collection generates not only the endpoints but some documentation and the parameters.

here is explained very shortly:

[Quick intro on how to use the generated params and path variables](https://github.com/sergiohinojosa/dynatrace-api-postman-collections#quick-intro-on-how-to-use-the-generated-params-and-path-variables)

Best regards  
Sergio

 ![28156-1612384244376.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/b/6b309d4cdfec6f1d1874fd2e81929e9c18992237.png)

---

<div class="post-metadata">

**Author:** ![alberto-jesus\_d](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@alberto-jesus\_d](https://community.dynatrace.com/u/alberto-jesus_d)\
**Post date:** [February 4, 2021, 12:36pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/5 "2021-02-04T12:36:26Z")

</div>

Hi Sergio,

I have run an End-Point without parameters and I’m getting the same error:

{tenant}}/api/v2/networkZones

Console output:

_Search messages_

_GET [https://XX.live.dynatrace.com//api/v2/networkZones](https://XX.live.dynatrace.com//api/v2/networkZones)_

_200_

_131 ms_

_GET //api/v2/networkZones HTTP/1.1_

_Authorization: Api Token XX_

_User-Agent: PostmanRuntime/7.26.10_

_Accept: \*/\*_

_Cache-Control: no-cache_

_Postman-Token: bc48b599-7eb6-417e-8e82-d255e2fda29e_

_Host: [XX.live.dynatrace.com](http://XX.live.dynatrace.com)_

_Accept-Encoding: gzip, deflate, br_

_Connection: keep-alive_

_Cookie: SRV=server3; apmsessionid=node0pbm1gf4wpdxqhf24tr629gyu214288.node0_

_HTTP/1.1 200 OK_

_date: Thu, 04 Feb 2021 12:31:29 GMT_

_traffic-source: UNKNOWN_

_x-frame-options: SAMEORIGIN_

_frame-options: SAMEORIGIN_

_x-xss-protection: 1; mode=block_

_set-cookie: apmsessionid=node0pttlcad653dk1y2579le4xqex214296.node0; Path=/; HttpOnly; SameSite=Lax; Secure_

_expires: Thu, 04 Feb 2021 12:31:29 GMT_

_pragma: no-cache_

_cache-control: max-age=0, no-cache, no-store, must-revalidate_

_x-content-type-options: nosniff_

_content-security-policy: default-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ data: ;script-src ‘self’ [https://static.woopra.com](https://static.woopra.com) [https://www.woopra.com/](https://www.woopra.com/) [https://d2ki1uyufn7sj9.cloudfront.net](https://d2ki1uyufn7sj9.cloudfront.net) [https://d2lm0p9xttk9v1.cloudfront.net](https://d2lm0p9xttk9v1.cloudfront.net) [https://d3847ft59mjvb2.cloudfront.net/](https://d3847ft59mjvb2.cloudfront.net/) [https://app.intercom.io](https://app.intercom.io) [https://widget.intercom.io](https://widget.intercom.io) [https://js.intercomcdn.com](https://js.intercomcdn.com) [https://js-cdn.dynatracelabs.com](https://js-cdn.dynatracelabs.com) ‘unsafe-inline’ ‘unsafe-eval’;object-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ [https://assets.dynatrace.com](https://assets.dynatrace.com);style-src ‘self’ ‘unsafe-inline’ [https://d2ki1uyufn7sj9.cloudfront.net](https://d2ki1uyufn7sj9.cloudfront.net) [https://d2lm0p9xttk9v1.cloudfront.net](https://d2lm0p9xttk9v1.cloudfront.net);font-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ [https://d2ki1uyufn7sj9.cloudfront.net](https://d2ki1uyufn7sj9.cloudfront.net) [https://d2lm0p9xttk9v1.cloudfront.net](https://d2lm0p9xttk9v1.cloudfront.net) [https://js.intercomcdn.com](https://js.intercomcdn.com);img-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ data: [https://d2ki1uyufn7sj9.cloudfront.net](https://d2ki1uyufn7sj9.cloudfront.net) [https://d2lm0p9xttk9v1.cloudfront.net](https://d2lm0p9xttk9v1.cloudfront.net) [https://ruxit-synth-screencap-dev.s3.amazonaws.com](https://ruxit-synth-screencap-dev.s3.amazonaws.com) [https://ruxit-synth-screencap-sprint.s3.amazonaws.com](https://ruxit-synth-screencap-sprint.s3.amazonaws.com) [https://ruxit-synth-screencap.s3.amazonaws.com](https://ruxit-synth-screencap.s3.amazonaws.com) data: [https://js.intercomcdn.com](https://js.intercomcdn.com) [https://static.intercomassets.com](https://static.intercomassets.com) [https://downloads.intercomcdn.com](https://downloads.intercomcdn.com) [https://uploads.intercomusercontent.com](https://uploads.intercomusercontent.com) [https://gifs.intercomcdn.com](https://gifs.intercomcdn.com) [https://video-messages.intercomcdn.com](https://video-messages.intercomcdn.com) [https://messenger-apps.intercom.io](https://messenger-apps.intercom.io) [https://dynatrace-9a8769f7accc.intercom-attachments-5.com](https://dynatrace-9a8769f7accc.intercom-attachments-5.com) [https://dynatrace-9a8769f7accc.intercom-attachments-6.com](https://dynatrace-9a8769f7accc.intercom-attachments-6.com) [https://dynatrace-9a8769f7accc.intercom-attachments-9.com](https://dynatrace-9a8769f7accc.intercom-attachments-9.com) [https://dt-cdn.net](https://dt-cdn.net) [https://dynatrace.asknice.ly](https://dynatrace.asknice.ly) [https://assets.survicate.com](https://assets.survicate.com) [https://dynatrace-9a8769f7accc.intercom-attachments-1.com](https://dynatrace-9a8769f7accc.intercom-attachments-1.com) [https://app.intercom.com](https://app.intercom.com);media-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ [https://js.intercomcdn.com](https://js.intercomcdn.com);frame-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ [https://sso.dynatrace.com](https://sso.dynatrace.com) [https://d2ki1uyufn7sj9.cloudfront.net](https://d2ki1uyufn7sj9.cloudfront.net) [https://d2lm0p9xttk9v1.cloudfront.net](https://d2lm0p9xttk9v1.cloudfront.net) [https://www.youtube.com](https://www.youtube.com) [https://fast.wistia.net](https://fast.wistia.net) [https://share.intercom.io](https://share.intercom.io) [https://intercom-sheets.com](https://intercom-sheets.com) [https://player.vimeo.com](https://player.vimeo.com) [https://www.intercom-reporting.com](https://www.intercom-reporting.com) [https://play.vidyard.com](https://play.vidyard.com) [https://assets.dynatrace.com](https://assets.dynatrace.com);connect-src ‘self’ ‘nonce-v0gyOpPqRr6lQJLo8fpaTQ==’ [https://d2ki1uyufn7sj9.cloudfront.net](https://d2ki1uyufn7sj9.cloudfront.net) [https://d2lm0p9xttk9v1.cloudfront.net](https://d2lm0p9xttk9v1.cloudfront.net) [https://api.segment.io](https://api.segment.io) [https://trello.com/1/](https://trello.com/1/) [https://api.intercom.io](https://api.intercom.io) [https://api-iam.intercom.io](https://api-iam.intercom.io) [https://api-ping.intercom.io](https://api-ping.intercom.io) [https://nexus-websocket-a.intercom.io](https://nexus-websocket-a.intercom.io) [https://nexus-websocket-b.intercom.io](https://nexus-websocket-b.intercom.io) [https://nexus-long-poller-a.intercom.io](https://nexus-long-poller-a.intercom.io) [https://nexus-long-poller-b.intercom.io](https://nexus-long-poller-b.intercom.io) wss://nexus-websocket-a.intercom.io wss://nexus-websocket-b.intercom.io [https://uploads.intercomcdn.com](https://uploads.intercomcdn.com) [https://uploads.intercomusercontent.com](https://uploads.intercomusercontent.com) [https://assets.dynatrace.com](https://assets.dynatrace.com) [https://account.dynatrace.com](https://account.dynatrace.com);child-src ‘self’ blob:;worker-src ‘self’ blob:;frame-ancestors ‘self’ ;base-uri ‘self’ ;form-action ‘self’ [https://dynatrace.asknice.ly](https://dynatrace.asknice.ly) [https://api-iam.intercom.io](https://api-iam.intercom.io) [https://intercom.help](https://intercom.help); report-uri /reportCPSViolations_

_content-type: text/html;charset=utf-8_

_vary: Accept-Encoding, User-Agent_

_content-encoding: gzip_

_transfer-encoding: chunked_

_strict-transport-security: max-age=31536000;includeSubDomains_

_The console only showsresponse bodies smaller than 10 KB inline. To view the complete body, inspect it by clicking Open._

The authorization method is based on Header and _API-key and API-Token_ is correctly set:

 ![28129-1612442034515.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2733e0cd9ac97d571c7cf89de1e30caaacd15834.png)

The thing is that I am still getting the same error:

\<!DOCTYPE html\>

\<html\>

\<head\>

\<meta name=“robots” content=“noindex” /\>

\<title\>Unsupported web browser - Dynatrace\</title\>

\<style\>

html {

height: 100%;

}

I guess it could be an issue with User Agent (User-Agent: PostmanRuntime/7.26.10). I don’t know what I am missing…

Thanks.

Alberto.

 ![1612439672846.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/ac5070cb404320aae69728644bc9264774d43a3a.png)

---

<div class="post-metadata">

**Author:** ![alberto-jesus\_d](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@alberto-jesus\_d](https://community.dynatrace.com/u/alberto-jesus_d)\
**Post date:** [February 4, 2021, 6:29pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/6 "2021-02-04T18:29:23Z")

</div>

I got the issue. That was my request, it was wrong, I just updated tenant variable.

[https://XX.live.dynatrace.com//api/v2/networkZones](https://XX.live.dynatrace.com//api/v2/networkZones)

Erasing extra / it works properly ([https://XX.live.dynatrace.com/api/v2/networkZones](https://XX.live.dynatrace.com/api/v2/networkZones)&nbsp;)

Thanks!!

Alberto.

---

<div class="post-metadata">

**Author:** ![sergio\_hinojosa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sergio_hinojosa/32/39658_2.png) [@sergio\_hinojosa](https://community.dynatrace.com/u/sergio_hinojosa)\
**Post date:** [February 4, 2021, 7:46pm UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/7 "2021-02-04T19:46:54Z")

</div>

Great! wish you lots of fun and automation with our API !

---

<div class="post-metadata">

**Author:** ![nakb](https://avatars.discourse-cdn.com/v4/letter/n/8edcca/32.png) [@nakb](https://community.dynatrace.com/u/nakb)\
**Post date:** [November 15, 2021, 6:28am UTC](https://community.dynatrace.com/t/postman-issue-while-calling-dynatrace-api/21411/8 "2021-11-15T06:28:14Z")

</div>

Hi,

I am getting&nbsp; **failed&nbsp;to&nbsp;resolve&nbsp;tenant 10** error, any idea how to resolve.
