JWT Authentication for WP REST API not allow other users to create posts

I have a custom post type “issues” and also custom role “clients”.
If my role is admin the i can create my_custom posts but when i change my user role from admin to client it don’t allow me to create the custom posts.

the error while my role is client is

{
{
“code”: “rest_cannot_create”,
“message”: “Sorry, you are not allowed to create posts as this user.”,
“data”: {
“status”: 401
}
}

Read more here:: JWT Authentication for WP REST API not allow other users to create posts

Leave a Reply

Your email address will not be published. Required fields are marked *