26 Jul 2023 09:48 AM
Hi Dynatrace Community,
While working through the Dynatrace App Quickstart [1] guide, I am having trouble starting the local development server.
When running `npm run start`, a browser opens at `https://{environmentid}.live.dynatrace.com/oauth2/authorize?client_id=&redirect_uri=http%3A%2F%2Flocalhost%3A5343%2Fauth%2Flogin&state=fbce8e20ab88c4d3056fa750cecf185cdf44fcbb&response_type=code&code_challenge_method=S256&code_challenge=OLyXd6OhIcSKERaTeGmbx4rcHepytgq_Z4z-hxUGwps&scope=storage%3Alogs%3Aread%20storage%3Abuckets%3Aread%20app-engine%3Aapps%3Ainstall%20app-engine%3Aapps%3Arun%20app-engine%3Aapps%3Adelete
Error page details:
Error details – 404 not found
26.07.2023 at 08:20:34 AM GMT | Ref. ID: JS-2-D8E5WGRLBIKE
Version: 1.271.95.20230718-153759
[1]: https://developer.dynatrace.com/getting-started/quickstart/
Solved! Go to Solution.
26 Jul 2023 12:02 PM
Hi @david-madl
It looks like you are using the wrong environment url. Can you please go to the app.config.ts file and replace the .live.dynatrace.com with .apps.dynatrace.com and try again?
Best,
Sini
26 Jul 2023 12:05 PM
Thank you Sini, works like a charm!
26 Jul 2023 12:08 PM
Just an idea:
Maybe you could add a correct URL example to the page [1], or give the "environment url" some other name, maybe "app environment url", to distinguish it?
Best,
David
[1] https://developer.dynatrace.com/getting-started/quickstart/
26 Jul 2023 12:18 PM
Thx for the idea.
The one thing we already have available in Dynatrace developer is your environment context. In the top right corner, you have a "login" button. After you're logged in, the "create" command is pre-filled with your environment URL
Best,
Sini