panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

500 Error with malformed POST

Open amy-langley opened this issue 7 years ago • 1 comments

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.

amy-langley avatar Jan 23 '18 23:01 amy-langley