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

Not acceptable format: jsonld #820

Closed
Natkeeran opened this issue Mar 27, 2018 · 8 comments
Closed

Not acceptable format: jsonld #820

Natkeeran opened this issue Mar 27, 2018 · 8 comments

Comments

@Natkeeran
Copy link
Contributor

I am seeing the following exception get thrown intermittently, specially when claw gets initially deployed.

commit f77f0a97c1f0b23cf79980486e671d76c2b147fc
Author: Jared Whiklo <[email protected]>
Date:   Wed Mar 14 08:08:53 2018 -0500
Use our drupal-project to pin drupal version (#61)

JsonLD and even Json does not return a valid response for a given node.

Message | Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException: Not acceptable format: jsonld in Drupal\Core\EventSubscriber\RenderArrayNonHtmlSubscriber->onRespond() (line 30 of /var/www/html/drupal/web/core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php).
@DiegoPino
Copy link
Contributor

Probably serializers are not enabled yet when this happens?

@akuckartz
Copy link

👍 (please support JSON-LD)

@whikloj
Copy link
Member

whikloj commented Apr 4, 2018

I just hit this and then I went into the REST configuration for the Node type. Changed nothing and pressed Save. Fixed.

So I think the new granular permissions are not being picked up correctly by Drupal.

@dannylamb
Copy link
Contributor

dangit....

@ajs6f
Copy link

ajs6f commented May 24, 2018

@DiegoPino
Copy link
Contributor

@ajs6f where is that trick? Can't make that link work here. had never that issue but would be good to know

@ajs6f
Copy link

ajs6f commented May 24, 2018

It's just what @whikloj reported above in this issue; a save without modification. In IRC @dannylamb mentioned that his giant content modelling PR will also fix it.

@Natkeeran
Copy link
Contributor Author

"giant content modelling PR " is in and I don't see this any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants