Answered

422 when uploading when quota is exceeded???

  • 1 September 2016
  • 1 reply
  • 75 views

When I upload tracks via the python client, it worked a bunch of times, then started failing with HTTPError for a 422 status code - this was roughly around the time I got a mail saying I'm out of quota but I think I might have uploaded more since getting the mail. I read somewhere you might have been overloaded so waited til this morning, but it still didn't work. I then deleted all my tracks, and now it works again.

So do you give a 422 to reject uploads when out of quota?

How do I see the body of the 422 response? I couldn't get it via exception.response.body or exception.response.data - do you add explanatory text to the body?
icon

Best answer by Mathis 7 September 2016, 13:55

Hi there,

Sorry about the confusion. I believe our API does not provide a specific explanation why an upload fails in that case, but yes, 422 often means the upload failed due to the account being out of quota actually.
View original

1 reply

Userlevel 7
Badge +3
Hi there,

Sorry about the confusion. I believe our API does not provide a specific explanation why an upload fails in that case, but yes, 422 often means the upload failed due to the account being out of quota actually.

Reply