02 Oct 2019 02:20 AM - last edited on 05 Oct 2022 10:05 AM by Ana_Kuzmenchuk
Hi,
I get thee error in the browser
""Unsupported authentication mechanism -> 'Basic', could not be used as fallback."
when accessing
https://xxxxx.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour/?Api-token=putyourapitokenhere
or
https://xxxxx.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour?Api-token=putyourapitokenhere
However when I access
https://xxxxx.live.dynatrace.com/api/v1/problem/feed?Api-token=putyourapitokenhere
But this also only lists 3 events although it says has 538
Solved! Go to Solution.
02 Oct 2019 03:24 AM - last edited on 12 Jul 2022 09:01 AM by MaciejNeumann
Hey mate, the ? is for when you stop using the apiendoint (in this case api/v1/problem/feed) and start passing variables.
So for this to work send something like this:
https://xxxxx.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour&Api-token=putyourapitokenhere
The last variable is the token, so you pass the data as another (&) variable as you did for impactlevel and relativetime. With that the api call will work.
02 Oct 2019 03:30 AM
Thanks mate. IT works like a charm.
15 Dec 2019 09:44 AM
Hello @Dante P.
While downloading the agent from the browser getting the following error:
{"error":{"code":401,"message":"Unsupported authentication mechanism -> 'Basic', could not be used as fallback."}}
Any thoughts about it?
Regards,
Babar
24 Dec 2019 01:05 AM
Hey @Babar Q. i didn't notice this question. Sorry.
In our case this url (for our managed enviroment) works like a charm:
https://activegate_URL:9999/e/TENNANT_UID/api/v1/deployment/installer/agent/unix/default/latest?Api-Token=TOKEN&arch=x86&flavor=defaul
I think is not detecting the api_token string at the url.