28 Aug 2017
07:52 AM
- last edited on
05 Oct 2022
02:12 AM
by
Ana_Kuzmenchuk
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
Solved! Go to Solution.
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.
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" ?
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?