Closed steveklabnik closed 10 years ago
@steveklabnik are you passing revision 1.1 headers? by default everything is revision 1.0 so it won't be wrapped... if you are passing those headers please reopen and we'll investigate.
Yes, I send this header with every request: https://github.com/balanced/balanced-api/pull/431/files#diff-6e23a314d333a0bdd832132c72cf1835R6
@steveklabnik is this still happening?
curl https://api.balancedpayments.com/fourohfour -H "Accept: application/vnd.api+json;revision=1.1"
{
"errors": [
{
"status": "Not Found",
"category_code": "not-found",
"description": "<p>The requested URL was not found on the server.</p><p>If you entered the URL manually please check your spelling and try again.</p> Your request id is OHM6af85fd8820c11e38fce026ba7f8ec28.",
"status_code": 404,
"category_type": "request",
"request_id": "OHM6af85fd8820c11e38fce026ba7f8ec28"
}
]
}
Looks like we're good!
related: https://github.com/balanced/balanced-api/issues/455
When you try to refund an unstored card, you don't get a wrapped error:
This should be wrapped in an
error
object.