Throw exception if demo JSON request returns 404.