cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when using URL "Unsupported authentication mechanism -> 'Basic', could not be used as fallback.

kart_ramalingam
Newcomer

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

 

4 REPLIES 4

Dant3
Pro

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.

 

Services Solution Engineer @PowerCloud - Observability/CloudOps Certified / Former SE @Dynatrace.

Thanks mate. IT works like a charm.



Babar_Qayyum
DynaMight Guru
DynaMight Guru

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


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.


Services Solution Engineer @PowerCloud - Observability/CloudOps Certified / Former SE @Dynatrace.

Featured Posts