handle possible http errors to save events
add error handling to individual requests
update documentation
regenerate documents