Publisher is EE6 compatible, but it does not support the Fluid field. Please do not contact asking when support will be available.

If you purchased an add-on from, be sure to visit to add the license to your account here on

Ticket: AJAX error - The response was not a valid JSON object (302)

Status Resolved
Add-on / Version Custom System Messages
Severity Critical
EE Version 17

Dustin Hansen

Nov 01, 2012

When we submit our login form successfully, we are getting a 302 and the following error is displayed:

The response was not a valid JSON object.


{exp:system_messages:form message_on_success="no"}
    {exp:member:login_form form_class="login_form"}
     <div class="username">
      <label for="username">Username</label><br>
      <input type="text" id="username" class="username" name="username">
     <div class="password">
      <label for="password">Password</label><br>
      <input type="password" id="password" class="password" name="password">
     {if auto_login}
      <div class="auto_login">
       <input type="checkbox" id="auto_login" name="auto_login" class="auto_login" value="1">Remember me?
     <div class="submit-button">
      <input type="submit" name="submit" class="submit" value="Login">
      <div class="clear"></div>
     <div class="forgot_password">
      <a href="/forgot-password">Forgot your password?</a>

BoldMinded (Brian)

Nov 01, 2012

If you look at your console what is the response content from the request? It sounds like its an HTML page, but it’ll have a message showing the error in there somewhere.


Dustin Hansen

Nov 02, 2012

Yes, it is an HTML page.  It’s the page I should be redirected to.  I’ve looked but I can’t spot any error in there…


Brian Litzinger

Nov 09, 2012

I went to the login page and it looks like you have removed the ajax functionality?


BoldMinded (Brian)

Dec 14, 2012

Closing, been a month with no response. If this is still an issue please open a new ticket. Thanks.

Login to reply