Skip to content

Cannot set scriptCss for a page via the API #7066

Closed Answered by DavidArno
DavidArno asked this question in Error / Bug Report
Discussion options

You must be logged in to vote

Realised this is a permissions issue. If the API auth key doesn't include "write styles" permission then the field is just ignored, rather than any error being returned. Further, even when that key includes that permission, the create mutation still returns null for scriptCss, but the styles are written to.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DavidArno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant