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

Accessing API Managed URL

vladimir_starir
Newcomer

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

8 REPLIES 8

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

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.

Senior Product Manager,
Dynatrace Managed expert

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

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" ?

Senior Product Manager,
Dynatrace Managed expert

hayden_miedema
Inactive

Hi Vladimir,

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

Thanks,

Hayden

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

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

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


thx


What REST call does not work for you?


Senior Product Manager,
Dynatrace Managed expert

Featured Posts