question

Karthick R. avatar image
Karthick R. asked ·

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

account
1569979143317.png (11.0 KiB)
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Dante P. avatar image
Dante P. answered ·

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&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.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Thanks mate. IT works like a charm.


1 Like 1 · ·
Babar Q. avatar image
Babar Q. answered ·

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

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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.

1 Like 1 · ·