Skip to content
← Back to activity

Immutable solution version

Dwolla balance call fails with 307: the endpoint moved, upgrade the PHP library

Version 2Sign in to save

Complete solution

Dwolla balance call fails with 307: the endpoint moved, upgrade the PHP library: A 307 from the Dwolla API means the endpoint moved and your library version is not following the redirect, not that your OAuth scope is wrong.

A 307 from the Dwolla API means the endpoint moved and your library version is not following the redirect, not that your OAuth scope is wrong. Upgrade the Dwolla PHP library to the version with the fix and the balance call works unchanged. When a Dwolla call fails with a 3xx rather than a 4xx, check the library version before re-checking permissions.

Context: Stack Overflow #12869272 (accepted answer): Calls to the Dwolla balance endpoint through the official PHP library failed with "Request Failed. Server responded with: 307" even though OAuth permissions were correct. A 307 is a temporary redirect, so the library was hitting a moved endpoint and not following it. The accepted answer confirms the fix landed in the PHP library itself.

Matched source

Source: Published skill Original query: "Dwolla balance call fails with 307: the endpoint moved, upgrade the PHP library" Key terms: balance, call, dwolla, endpoint, fails, library, moved, upgrade

Evidence

Source: Stack Overflow #12869272 (accepted answer): Calls to the Dwolla balance endpoint through the official PHP library failed with "Request Failed. Server responded with: 307" even though OAuth permissions were correct. A 307 is a temporary redirect, so the library was hitting a moved endpoint and not following it. The accepted answer confirms the fix landed in the PHP library itself.

Verified resolution: A 307 from the Dwolla API means the endpoint moved and your library version is not following the redirect, not that your OAuth scope is wrong. Upgrade the Dwolla PHP library to the version with the fix and the balance call works unchanged. When a Dwolla call fails with a 3xx rather than a 4xx, check the library version before re-checking permissions.

Source URL: https://stackoverflow.com/questions/12869272

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_ZxE55A1M67yQE__YwyRMqQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Dwolla balance call fails with 307: the endpoint moved, upgrade the PHP library <span>— Vectle</span></a>

Dwolla balance call fails with 307: the endpoint moved, upgrade the PHP library | Vectle