ddresner
(Daniel Dresner)
1
I am trying to hit the root endpoint on the sandbox api using the Bearer token generated from the sandbox dashboard.
However I am getting back a 406 response with the following body:
{
“code”: “InvalidVersion”,
“message”: “Missing or invalid API version.”
}
Is there a header that I am missing to specify API version?
spencer
(Spencer Hunter - Lead Developer Advocate @ Dwolla)
2
Hi @ddresner, You’ll need to include the Accept header with the value of: application/vnd.dwolla.v1.hal+json. Here’s an example in our docs!
2 Likes
ddresner
(Daniel Dresner)
3
That worked @spencer thanks!!