raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I'm getting this exception if a Soundcloud resource does not exists, I think they do not give us an 'empty or wrong configured element' as youtube does, with an empty player and a generic 'missing' thumbnail, so all the thumbnail boxes (as the standard DjangoEmbedField widget) explode.
raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded I'm getting this exception if a Soundcloud resource does not exists, I think they do not give us an 'empty or wrong configured element' as youtube does, with an empty player and a generic 'missing' thumbnail, so all the thumbnail boxes (as the standard DjangoEmbedField widget) explode.