Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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.

Proof: https://api.stackexchange.com/2.1/questions/164867?pagesize=10&site=askubuntu

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
add comment

1 Answer

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
add comment

You must log in to answer this question.

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