Share via

Error loading ADT explorer for QuickStart Tutorial - "SyntaxError: Unexpected token E in JSON at position 0"

Vinh Pham 101 Reputation points
2020-10-09T21:32:28.667+00:00

Trying to follow this guide: https://learn.microsoft.com/en-us/azure/digital-twins/quickstart-adt-explorer

After downloading the .zip, and running 'npm install', 'npm run start', the expected browser pops up. Trying to upload new model from sample.zip causes this error:

   *** Error fetching models: RestError: Error "SyntaxError: Unexpected token E in JSON at position 0" occurred while parsing the response body - Error occured while trying to proxy to: localhost:3000/models?api-version=2020-05-31-preview&dependenciesFor=&includeModelDefinition=true.  

31344-image.png

I've tried restarting reinstalling and updating. Cannot figure out a fix.

Azure Digital Twins
Azure Digital Twins

An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.


Answer accepted by question author

Vinh Pham 101 Reputation points
2020-10-22T14:07:43.037+00:00

@António Sérgio Azevedo - Read through the suggested thread but was not able to get progress with Digital Twins ADT app. Same error. However, I was able to run ADT on a another computer. Unsure why my PC is not working - still investigating.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Rakesh kumar 21 Reputation points
    2022-06-16T10:30:06.637+00:00

    Even it is not working for me .
    212085-image.png

    Was this answer helpful?

    0 comments No comments

  2. António Sérgio Azevedo 7,671 Reputation points Microsoft Employee Moderator
    2020-10-13T13:03:40.177+00:00

    @Vinh Pham I believe you are facing the same issue as the one reported on the doc you are following: https://github.com/MicrosoftDocs/azure-docs/issues/62430 .

    Could you please follow the suggestions by @QuantumCache and let us know if it helped you move forward with the quickstart?

    32944-image.png

    Thank you so much!

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.