1

When I run https://api.stackexchange.com/docs/create-question from the doc page and from my app. The response is sometimes nonsense:

{
    "error_id": 407,
    "error_message": "You cannot perform this action for another 48 seconds",
    "error_name": "write_failed"
}

What is the reason for this?

1 Answer 1

2

You are probably having this error because of throttles (most likely per-method throttles) that are used to prevent abusive usage. Have a look at related documentation page in order to learn more about throttles. Normally you should wait for a specified period which is returned in the backoff field of the previous response.

2
  • Is this the backoff returned in the previous response that tells to wait for a specified time? Commented Jun 30, 2015 at 6:27
  • @amitjha yes it should be returned in the previous response. Changed the answer to reflect that. Commented Jun 30, 2015 at 6:40

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.