aseps3472 / gdata-javascript-client

Automatically exported from code.google.com/p/gdata-javascript-client
0 stars 0 forks source link

Unescaped JSON is a not supported format for attribute or text values. #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I try to load google contacts (or appointments), sometimes I get this 
error:

ERROR: Error Loading Google Contacts.
Invalid JSON format. Unescaped JSON is a not supported format for attribute or 
text values.

I take a look at the notes and typically there are some characters that are 
invalid UTF-8 characters.  From the looks of them, these characters are 
windows-specific characters.

Now, I did not create this contact (or appointment), but I am trying to fetch 
the data for it.  It looks like to me that someone has put invalid data into 
this contact record.

However, it seems to me that it would be preferable to return that data anyways 
and not complain about it.

Can't you just strip the invalid characters from the data and send it to me?

Lastly, how the heck did that invalid data get there in the first place?  Why 
don't you just strip that invalid data before it is placed into the contact 
record?

You are sending an error to me - but not giving me any way to handle that 
error!  Its driving my clients crazy.

Sincerely,

Scott Schmitz
RealOrganized, Inc.

Original issue reported on code.google.com by SSchmit...@gmail.com on 21 Apr 2011 at 4:46