[fix bug 1060782] Raise 404 if there are errors in the API response.
Merge pull request #877 from akatsoulas/1060782-events-api-traceback

[fix bug 1060782] Raise 404 if there are errors in the API response.