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

Unable to start dev server - 404 logging into environment

david-madl
Newcomer_

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/

4 REPLIES 4

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

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

Thank you Sini, works like a charm!

david-madl
Newcomer_

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/

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

sinisa_zubic_0-1690370265816.png

 

Best,
Sini

Featured Posts