Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I have a problem with EDD Dropbox File Store and Dropbox connection.
I connect the Easy digital download Dropbox File Store plugin and it works perfectly but after a period of about 4/6 hours it disconnects then clicking on the download button gives the following error:
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://api.dropboxapi.com/2/files/get_temporary_link` resulted in a `401 Unauthorized` response: {"error_summary": "expired_access_token/", "error": {".tag": "expired_access_token"}} in /home/gplsuite/public_html/wp-content/plugins/edd-dropbox-file-store/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111 Stack trace: #0 /home/gplsuite/public_html/wp-content/plugins/edd-dropbox-file-store/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /home/gplsuite/public_html/wp-content/plugins/edd-dropbox-file-store/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /home/gplsuite/public_html/wp-content/plugins/edd-dropbox-file-store/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Res in /home/gplsuite/public_html/wp-content/plugins/edd-dropbox-file-store/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 111
There has been a critical error on this website.
Any ideas to solve this problem?
@forgethead wrote:
I connect the Easy digital download Dropbox File Store plugin and it works perfectly but after a period of about 4/6 hours it disconnects ...
Dropbox has discontinued the use of long-lived access tokens. Authorization tokens only last 4 hours now. For applications that need longer access without re-authenticating, they need to use refresh tokens.
You need to contact the developer of the plugin and ask them to update it to use refresh tokens. Send them the following link:
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!