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://xjv26544.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour...

or

https://xjv26544.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour...

However when I access

https://xjv26544.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

ADPaoloni
Mentor

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://xjv26544.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour...

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.


Thanks mate. IT works like a charm.



Babar_Qayyum
DynaMight Leader
DynaMight Leader

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.