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

According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?

share|improve this question
up vote 3 down vote accepted

When the site has been shut down.

This is incredibly rare, but has happened a few times.

share|improve this answer
OK, that makes sense. Thanks for clarifying! – Alex Lockwood Aug 14 '12 at 0:57
One last question... when the "site" is down, shouldn't the result be an error of some sort? Why is it that the site field is absent instead? – Alex Lockwood Aug 14 '12 at 13:43
@Alex - there's an error if you're using the /users/{id}/inbox method because the site no longer exists, but if you're using /inbox there's no error because you're not querying a specific site. – Kevin Montrose Aug 14 '12 at 16:49

You must log in to answer this question.

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