panoptes
panoptes copied to clipboard
500 Error with malformed POST
I was trying to create a new project_preferences
resource but made an error in formatting my POST. This resulted in a 500 error instead of something a little cleaner, so @zwolf suggested I file an issue.
I had attempted to imitate the response from the server by posting something like { "project_preferences": [ { my object here } ] }
but the square brackets were unnecessary. The API correctly rejected them but it'd be nice to get a more descriptive error.