question

Vladimir S. avatar image
Vladimir S. asked ·

Accessing API Managed URL

I'm using a dynatrace setup installed in a company DC and need to access the API.

I'm getting the "Looks like something has been misplaced" error page when I try to access the API Managed URL. Here's how I constructed the URL:

Dashboard URL:

https://MAIN_URL/e/ENV_ID/#dashboard;id=SOME_ID;gtf=l_2_HOURS

API Managed URL:

https://MAIN_URL/e/ENV_ID/api/v1

Is there something I need to do on the server side to enable access via the browser of the API? Maybe this error message is expected and I should continue with the integration?

Regards,

Vladimir

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

Radoslaw S. avatar image
Radoslaw S. answered ·

Hello Vladimir,

nice to here from you. I need some details to help you.

Could you please check if a simple Time API call works?

https://MAIN_URL/e/ENV_ID/api/v1/time

It should return last monitored timestamp.

2 comments 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.

Hi Radoslaw,

https://MAIN_URL/e/ENV_ID/api/v1/time responds with the timestamp. Does that mean that the "Looks like something has been misplaced" error page is expected behaviour?

Regards,

Vladimir

0 Likes 0 · ·

If it worked it means that the MAIN_URL and ENV_ID is correct. What API call do you try to execute that you got "error page" ?

0 Likes 0 · ·
Hayden M. avatar image
Hayden M. answered ·

Hi Vladimir,

I know this question was asked a while ago, but checking in to see if you figured out your issue.

Thanks,

Hayden

2 comments 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.

Sorry, I don't remember what the solution here was. I think it was something minor as not following the documentation correctly.

0 Likes 0 · ·

No worries! Just wanted to make sure your issue was solved.

0 Likes 0 · ·
Gilles D. avatar image
Gilles D. answered ·

I encounter the issue right now, so if any one can give the solution


thx

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.

What REST call does not work for you?

0 Likes 0 · ·