Support » Plugins and Hacks » [Resolved] Unauthorized User – Cannot Publish

[Resolved] Unauthorized User – Cannot Publish

  • Hello everyone!

    I’m trying to create a new post using the JSON API by making a cURL request.

    I have added the authorisation token on the http header but get the following error:

    {“error”:”unauthorized”,”message”:”User cannot publish posts”}

    When I try doing a get (getting all posts for examples) it works fine. On my website back-end the user I am using has admin privileges. However, when I go to developer.wordpress…. etc. to the security section and click on my website’s connected application it says that my access permissions are:

    “View user information data such as username, name, email, blog and Gravatar.”

    Might that be the problem??


Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Unauthorized User – Cannot Publish’ is closed to new replies.