0

I am trying to upload model JSON files to my Azure Digital Twins instance but I get:

DocumentParseError: Failed to parse input. Error: jsonld.InvalidUrl: Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.

I ran everything through the DTDL validator and it's fine. I am able to upload other sample models to my instance no problem.

I tried to upload Azure Digital Twins DTDL models directly through Azure Digital Twins Explorer and I expected them to populate in the Models column. Instead, I received the above error code.

  • Update: I was using DTDL V3 along with the Quantitative Types and Historization extensions and when I eliminated the extensions and reverted back to V2 everything uploaded just fine. Are there ongoing issues with these extensions? – Phillip House Mar 13 '23 at 20:11

0 Answers0