Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When pulling back info on a closed question, I have come to expect closed_reason to be a present key if there's a closed_date. It seems that as of recently this is no longer true.


What happened to this key? I need it. Can it be reintroduced please?

Edit: Just noticed this is still in the API documentation, so I guess this is more of a bug. Again, please add this back to the API. We need it as part of Ask Ubuntu's ongoing cleanup effort.

share|improve this question
up vote 3 down vote accepted

Fun one.

Changes behind the scenes to how closed reasons are handled caused the API to stop getting a real reason and start getting a null one. This was just different enough from failing to get a reason that it went unnoticed, oy.

This was fixed in the most recent build.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .