Everything is working fine in the Sandbox account
$_account_link = 'https://api.dwolla.com/';
$this->_account_link = $_account_link;
DwollaSwagger\Configuration::$debug = DWOLLA_DEBUG;
DwollaSwagger\Configuration::$username = $_client_id;
DwollaSwagger\Configuration::$password = $_client_secret;
$apiClient = new DwollaSwagger\ApiClient($this->_account_link);
$tokensApi = new DwollaSwagger\TokensApi($apiClient);
$appToken = $tokensApi->token();
$this->_token = $appToken->access_token;
[DEBUG] HTTP Request body ~BEGIN~
grant_type=client_credentials
~END~
HTTP/1.1 400 Bad Request
Date: Thu, 04 Aug 2022 17:29:22 GMT
Content-Type: application/json
Content-Length: 31
Connection: keep-alive
Cache-Control: no-store
X-Request-Id: 08bf956b-8213-4d91-9636-15c074edbbb4
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Set-Cookie: __cf_bm=otSVZY_sIT6MdF3VGI/EhoQEgJ8dhgVUccUCmKHuI/fA+tOAApF/xv3fkOinKXbU=; path=/; expires=Thu, 04-Aug-22 17:59:22 GMT; domain=.dwolla.com; HttpOnly; Secure; SameSite=None
Server: cloudflare
CF-RAY: 735903c2d9a73206-BOM
{“error”:“unauthorized_client”}[DEBUG] HTTP Response body ~BEGIN~
{“error”:“unauthorized_client”}
~END~