Title: [Plugin: WPBadger] Unexpected token U?
Last modified: August 20, 2016

---

# [Plugin: WPBadger] Unexpected token U?

 *  Resolved [0kee](https://wordpress.org/support/users/0kee/)
 * (@0kee)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/)
 * Hi,
    Great plugin, I’m loving the idea of badges. I encountered the error below
   when I was testing it out
 * _We have encountered the following problem: trying to grab url [http://electroat.com/wp/?award=1329703981&json=1](http://electroat.com/wp/?award=1329703981&json=1)
   got error ParseError: Failed to parse JSON at [http://electroat.com/wp/?award=1329703981&json=1](http://electroat.com/wp/?award=1329703981&json=1):
   Unexpected token U_
 * Sorry if I have made some obvious mistake, this is new to me. Any ideas?
    Thanks.
   Karl
 * [http://wordpress.org/extend/plugins/wpbadger/](http://wordpress.org/extend/plugins/wpbadger/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Dave Lester](https://wordpress.org/support/users/davelester/)
 * (@davelester)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/#post-3101851)
 * Thanks for pointing this out! The badge description cannot be longer than 128
   characters which is causing the error. Try shortening the description and see
   if it works.
 * Also, I noticed that there’s a bug and quotes aren’t properly escaped in the 
   badge description, so thanks for bringing that to my attention. For now, try 
   removing any quotation marks in your badge description.
 *  Thread Starter [0kee](https://wordpress.org/support/users/0kee/)
 * (@0kee)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/#post-3101958)
 * Hi Dave,
    Thanks for coming back so quickly, I knew I was doing something stupid.
   You were absolutely right, that sorted it out. I’ll make sure to read the instructions
   next time 🙂 Cheers, Karl
 *  Plugin Author [Dave Lester](https://wordpress.org/support/users/davelester/)
 * (@davelester)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/#post-3101959)
 * great!
 *  [cunniman](https://wordpress.org/support/users/cunniman/)
 * (@cunniman)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/#post-3102088)
 * Hi Dave,
 * I am getting the same error as above. Any ideas?
 * Thanks
 * Mark
 * [http://www.cunniman.net/?award=184896947#](http://www.cunniman.net/?award=184896947#)
 *  [cunniman](https://wordpress.org/support/users/cunniman/)
 * (@cunniman)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/#post-3102089)
 * I’ve solved the problem – I inserted the image into the post. It should have 
   been set as a featured image.
 * Cheers
 * Mark

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WPBadger] Unexpected token U?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpbadger.svg)
 * [WPBadger](https://wordpress.org/plugins/wpbadger/)
 * [Support Threads](https://wordpress.org/support/plugin/wpbadger/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbadger/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbadger/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbadger/reviews/)

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)

 * 5 replies
 * 3 participants
 * Last reply from: [cunniman](https://wordpress.org/support/users/cunniman/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbadger-unexpected-token-u/#post-3102089)
 * Status: resolved