• Resolved David Lingren

    (@dglingren)


    I have started getting frequent errors when I access the plugin. Often, refreshing the page will temporarily solve the problem. I’ve had the problem on Chrome and Microsoft Edge. The plugin reports:

    Sorry, something went wrong loading the data – please try again

    At the top of the page WordPress reports:

    Plugin: 3.5
    WordPress: 4.9.8 (single)
    PHP: 5.6.17
    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
    JavaScript: http://fairtradejudaica.org/wp-content/plugins/redirection/redirection.js
    REST API: http://fairtradejudaica.org/wp-json/

    Error: Unexpected token < in JSON at position 0
    Action: redirection/v1/redirect/?orderby=id GET
    Code: 500 Internal Server Error
    Raw: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>500 Internal Server Error</title>
    </head><body>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.</p>
    <p>Please contact the server administrator at
    [email protected] to inform them of the time this error occurred,
    and the actions you performed just before this error.</p>
    <p>More information about this error may be available
    in the server error log.</p>
    <p>Additionally, a 500 Internal Server Error
    error was encountered while trying to use an ErrorDocument to handle the request.</p>
    </body></html>

    Error: Sorry, you are not allowed to do that. (rest_forbidden)
    Action: redirection/v1/group/ GET
    Code: 401 Unauthorized
    Raw: {“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:401}}

Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    Your server is returning a 500 error and a forbidden error. I would imagine this is caused by a security plugin or something like that.

Viewing 1 replies (of 1 total)

The topic ‘JSON/REST 401 Forbidden errors’ is closed to new replies.