• Resolved cooperk937

    (@cooperk937)


    Hi there, our website has recently started throwing back “{code: ‘invalid_json’, message: ‘The response is not a valid JSON response.’}” upon successful submission.

    Do you have any idea why?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    It seems that the following message is added to REST API responses and that is breaking the JSON syntax.

    ERROR: Column ‘FinalScore’ cannot be null

    Do you have any idea what it is?

    Thread Starter cooperk937

    (@cooperk937)

    Hi there,

    That’s amazing thanks, that’s allowed me to debug and fix the issue.

    Could you please let me know how you can read the REST API responses?

    I could only see:
    {code: ‘invalid_json’, message: ‘The response is not a valid JSON response.’}
    In the browser console log which isn’t that helpful…

    Many thanks,
    Karl

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I guess it’s up to the configuration of the browser console. Try turning on output for XHR requests.

    Thread Starter cooperk937

    (@cooperk937)

    Ah, I’ve managed to find it, that will make my life much easier, many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting response – code: ‘invalid_json’ is closed to new replies.