When the api fails because of an error from WPT, it'd be nice to return more than just the response code and also include the error description. E.g.: instead of: { error: 400 } return { error: 400, desc: Invalid Location, please try submitting your test request again. }