mailchimp/APIv3-examples

HTTP Code 409 for existing email, not 400

nickdnk opened this issue · 0 comments

Hello

I don't know if this is the right place to submit this, but...

When subscribing an email to a list via the API which is already present, the server returns 400. 400 is not appropriate for a request that was correctly formed. It should respond with 409 Conflict instead. This would also make it easier for APIs to distinguish between a duplicate and an actual request error.

Just my 2 cents.