Exporting config
Passing XHR to onFailure