Duplicate POST detected

Hello,

Sometimes I get "400 Bad Request: Duplicate POST detected" from your API.
How should I handle this case?
What is the purpose of returning 400?

Thank you.
Cenk

  1. We reject duplicate post requests for certain api calls. This avoids several unintended issues with activity like double-clicking form buttons, for example. A post is considered a duplicate if the post data is identical to another request sent within the time window (10 seconds). If you require a duplicate post, you can change subsequent posts to have different data. Currently the checked calls are:

    invoices/new
    customers/new
    customers/edit
    customers/edit-subscription
    customers/add-charge
    
  2. Dean closed this discussion on 31 Jan, 2013 10:23 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions