Invalid API Version

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?

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!

1 Like

That worked @spencer thanks!!