Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔊 More Verbose JSON-LD Errors #151

Open
shnizzedy opened this issue Jun 11, 2019 · 1 comment
Open

🔊 More Verbose JSON-LD Errors #151

shnizzedy opened this issue Jun 11, 2019 · 1 comment

Comments

@shnizzedy
Copy link
Member

shnizzedy commented Jun 11, 2019

Eg, where we currently have

{
  "field": "url",
  "message": "Invalid activity URL: https://raw.githubusercontent.com/binarybottle/schema-standardization/master/activities/CRIsurvey/CRIsurvey_schema.jsonld",
  "type": "validation"
}

update to:

{
  "details": "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.",
  "field": "url",
  "message": "Invalid activity URL: https://raw.githubusercontent.com/binarybottle/schema-standardization/master/activities/CRIsurvey/CRIsurvey_schema.jsonld",
  "type": "validation"
}
@shnizzedy
Copy link
Member Author

shnizzedy commented Aug 14, 2019

@akeshavan it looks like some activity sets were saved in the applets collection on dev; I think that's what was causing our bug?

I moved them all over to activitysets and it seems okay now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants