newrelic / nr1-nerdlet-zero-to-hero

A self-paced introduction to custom application (nerdlet) development for New Relic One
Apache License 2.0
11 stars 7 forks source link

404 Error when using Nerdlet #14

Open mkoczur13 opened 2 years ago

mkoczur13 commented 2 years ago

I am trying to complete this lab. I keep getting a "404 - Nerdlet b42fe703-1841-4761-87f8-fdd99bb0c6c7.nerdlet not found" error. I am not sure how to fix this error. I thought I could generate a new ID and replace the ID in the launcher file but it is not working. I tried googling it and was not able to find an answer. Can you please help? Thank you!

jsbnr commented 2 years ago

Ive seen similar issues in the past. Im not sure what causes the guid to end up in the config. Make sure the nr1.json in the launcher points to the nerdlet by id and does not include the guid at all.

Or to be specific: the launcher nr1.json rootNerdletId field should contain the value of the id of the nerdlets nr1.json id field.

There is an example here: https://github.com/newrelic-experimental/nr1-deployatron/blob/cefced84c309f048a7aec7a55b95bd595426002b/launchers/nr1-deployatron/nr1.json#L6

mkoczur13 commented 2 years ago

Okay I will take a look at that and let you know if I have any other questions. Thank you