Cannot set scriptCss for a page via the API #7066
-
Beta Was this translation helpful? Give feedback.
Answered by
DavidArno
Mar 13, 2024
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DavidArno
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
forscriptCss
, but the styles are written to.