I have an issue with creating a node via the API. I have the correct permissions setup but it seems like a glitch somewhere in the permissions. An admin can create a content but no other role can. [content type]: Can create new content permission is checked.
Error; access denied - /node?_format=hal_json
Config:
Client:
return api({
method: 'post',
url: 'node?_format=hal_json',
data: JSON.stringify(_node),
headers: {
'Content-Type': 'application/hal+json',
'X-CSRF-Token': _xscrf_token,
},
});