Uncaught SyntaxError: Unexpected token :

Avatar image for ralze
ralze

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

I'm having a hard time figuring out what I am doing wrong. I am sending an AJAX call to the API and I keep getting this error when I try to log the results. I printed the URL I am hitting to the log and when I manually enter that URL it loads up just fine. What am I missing?

Here is exactly what it says in console:
Uncaught SyntaxError: Unexpected token : www.comicvine.com/:1

Here is an example URL of what I am trying to hit: http://www.comicvine.com/api/volumes/?filter=name%3ABOOK_NAME&api_key=MY_API_KEY&format=json&callback=jQuery2110592481563333422_1408477523934&_=1408477523935