I'm building tests around an api wrapper in PHP, and I'm not getting the expected response when I try to re-upload an existing file based on the API documentation.
According to the docs:
If the name of the file being uploaded already exists in the folder, an error is returned.
While technically speaking returning a 500 response code is an error, I assume that the intended behaviour would be an error returned in the errors format outlined in the API docs.
The response includes the following content in it's body, making me even more convinced this is not the intended behaviour:
Your Box account is temporarily down — but you shouldn't be — because we'll be up and running soon.
Thanks for your patience ... and for being the most important part of Box.
During the pause, you can:
Refresh your browser Check our blog for any news Submit a support ticket