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)
  • We here too!

    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}}.

    • This reply was modified 5 months, 1 week ago by  soggydoggear.

    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?

    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.

    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!

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

    • This reply was modified 5 months, 1 week ago by  chrisunseen.

    Top Marks Marius!

    Update applied and all working fine.

    Many thanks for resolving the issue so quickly.

    • This reply was modified 5 months, 1 week ago by  Marius L. J..
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.