mx error handling for http objects