function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Veeru AVeeru A 

jQuery getSON call to public Apex REST Service parser error

I am getting an error using jQuery getJSON calling to my Apex public REST service. It seems to always return "parsererror". 
This is a cross domain call  so that is why I am using getJSON  

If I invoke the Apex WS through url alone or CURL the JSON back looks good and validates. 

If I use my JQ and call another public service and leave everything else the same...it works. 

It seems to fail only calling my FORCE.COM WS.

This is in my SANDBOX. 

any pointers would be appreciated...
Veeru AVeeru A
p.s. I AM adding "&callback=?" to the end of the URL to get past the Access Control Allow Origin issue....this does solve that.