• Resolved casperweb

    (@casperweb)


    Hi Joshua,

    I love this plugin as it makes our backoffice so much more organised. When I activate it the site diagnose page mentions an error however. Is there anyway to remove this? The error is as follows:

    “De REST API call gaf het volgende onverwachte resultaat: (403) {“code”:”rest_cannot_read_type”,”message”:”Niet mogelijk berichttype te bekijken.”,”data”:{“status”:403}}.”

    Which translates to: The REST API call returned an unexpected result: (403) not possible to view message type “data”.
    I know this is probably won’t affect any functionality of the website, but i’d rather remove as much errors as I can as you will probably understand.

    Thank you in advance!

    Regards, Casper

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Hey Casper!

    Thanks for reaching out and the kind words – glad this plugin is helpful.

    You’re correct in that health check failing is not something to be alarmed about – the plugin disabled the ‘post’ type, which means the ‘post’ post type being unavailable in the REST API. The built-in health check for the REST API references this post type.

    I have a fix queued up for this in the next release, but I have not had time to finalize and release it. Hopefully soon!

    Let me know if you have any other questions or issues.

    Cheers,
    Joshua

    Thread Starter casperweb

    (@casperweb)

    Hi Joshua,

    I figured something like that would be the cause, but thanks for the explaination. We will be patient and wait for the update.

    In the mean time some motivational words: “Come on! You can do it!” ??

    Regards, Casper

    bigwave2

    (@bigwave2)

    Any update on this issue?

    Cheers

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Hey @bigwave2 – I have a version 0.5.0 of the plugin with a fix for this just about ready to go, you’re welcome to try it out: https://github.com/joshuadavidnelson/disable-blog/tree/0.5.0

    I am hoping to finalize this version in the next week or two.

    Thread Starter casperweb

    (@casperweb)

    Hi Joshua,

    Thanks for the fix! When will the 5.0 version be released?

    Regards, Casper

    Any updates on this? I’d rather just update through once the final is out. Getting the same REST api error btw.

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    This should be fixed in version 0.5.0. I’m closing this topic, but please feel free to re-open or create a new one if you have any other issues!

    Thanks,
    Joshua

    Thread Starter casperweb

    (@casperweb)

    Can confirm the 0.5.0 release fixes the issue. Thanks you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Rest API error: rest_cannot_read_type’ is closed to new replies.