title: Salesforce: URL Rewriter & JScript Remoting: Exception parsing json response: 'Unexpected token <'. Logged in?
body: <p>I am getting an error when I use JavaScript remoting and have my URLReWriter turned on on my Force.com SIte.  The error does not occur when using JavaScript Remoting with the URL ReWriter turned off.</p>
  
  <p>The error is as follows</p>
  
  <p>Exception Error parsing json response: 'Unexpected token &lt;'. Logged in? </p>
  
  <p>I'm confused as to why this is occuring. If I have no checks for being logged in in my URL ReWriter (or visualforce page) why should this occur?</p>
  
  <p>Has anyone ever come across something similar to this before?  I noted  the following <a href="https://salesforce.stackexchange.com/questions/4112/possible-oauth-remote-action-bug">https://salesforce.stackexchange.com/questions/4112/possible-oauth-remote-action-bug</a> but in my case I am not using authentication on my site for the test page that I created &amp; I'm wondering why it mentions "login".</p>
  
  <p>Is it possible that URLRewriters and JavaScript Remoting currently do not work together in general?</p>
  
  <p>Thanks in advance for any help on this.</p>