Duplicate POST detected

cenk's Avatar

cenk

16 Jan, 2013 08:55 AM

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. Support Staff 1 Posted by Marc Guyer on 16 Jan, 2013 02:59 PM

    Marc Guyer's Avatar

    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

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM