2c0eff7
Correct an error handling The 'error' object in the handling of the JSONBadRequest error doesn't have any attribute 'data'. Trying to access to that attribute was raising another exception, so it was not possible to understand the real error.