Support » Plugin: Health Check & Troubleshooting » REST API unexpected result

  • Resolved plittlefield

    (@plittlefield)


    When I run the Health Check plugin as an Administrator, I receive the following error on the REST API check…

    `The REST API call gave the following unexpected result: (401) {“code”:”rest_forbidden_context”,”message”:”Sorry, you are not allowed to edit posts in this post type.”,”data”:{“status”:401}}.

Viewing 8 replies - 1 through 8 (of 8 total)
  • toremo

    (@toremo)

    We here too!

    soggydoggear

    (@soggydoggear)

    Ditto, I have a java script error that impacting Yoast Seo and I believe this error is creating it. Looking for suggestions to correct

    REST API call gave the following unexpected result: (401) {“code”:”rest_forbidden_context”,”message”:”Sorry, you are not allowed to edit posts in this post type.”,”data”:{“status”:401}}.

    johnwoodsmotorcare

    (@johnwoodsmotorcare)

    Same error appearing today on our site when Health Check is run:-

    REST API availability:- The REST API call gave the following unexpected result: (401) {“code”:”rest_forbidden_context”,”message”:”Sorry, you are not allowed to edit posts in this post type.”,”data”:{“status”:401}}.

    Anyone any ideas on whats causing it?

    preclicked

    (@preclicked)

    I’m not sure of the cause, though I believe the developer is aware of the error and plans to release an update to resolve this soon.

    See https://wordpress.org/support/topic/rest-api-and-php/ for more.

    ChrisUnseen

    (@chrisunseen)

    Currently having the same issue. Post title images are not showing up now, either. Not sure if it’s related. Haven’t added any new plugins.

    Plugin Author Marius L. J.

    (@clorith)

    Hiya, we’re rolling out the fix to this, and the warning some users are seeing on their plugin screen as I type this out! Thank you for the patience and reports here, as it was something we didn’t pick up on in testing!

    ChrisUnseen

    (@chrisunseen)

    Thanks for the update, Marius. Appreciate you letting us know. Been scratching my head for a couple days.

    johnwoodsmotorcare

    (@johnwoodsmotorcare)

    Top Marks Marius!

    Update applied and all working fine.

    Many thanks for resolving the issue so quickly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘REST API unexpected result’ is closed to new replies.