wsurguy
10 years agoAdept
Permission denied when making a 'Reply' via the REST API.
Hi All, I am receiving a 'Permission Denied' when trying to make a reply to a message via the REST API. My user is and 'Administrator' and has the 'Grant' permission 'Make REST API calls with mod...
- 10 years ago
Good to hear you managed to get the post returned wsurguy.
You won't be able to specify the author of the post unless the user making the post has the "switch to other users" permission enabled.
And even then you can't switch to a user that has any permission higher than your own.
Labels on the other hand apply to a topic only. Not an individual post, you wouldn't pass those in with a reply.
You could need to use tags if there's metadata you want to attach to the post.
Sounds like you've got the right permissions working now, but just need a few tweaks to what you're handing to the API :)