Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Client error: `POST https://api.dropboxapi.com/2/files/list_folder` resulted in a `401 Unauthorized

I am trying to backup my database zip file to Dropbox from Laravel Application and I am getting the following error. Complete Log Link

Client error: `POST https://api.dropboxapi.com/2/files/list_folder` resulted in a `401 Unauthorized

enter image description here

I am using A flysystem driver for Dropbox

On the other hand, It's working fine on Cpanel but not working on Local XAMPP installation based on windows.

like image 424
Lyn Robert Avatar asked Jun 30 '26 12:06

Lyn Robert


1 Answers

If you have enabled all the required permissions then I think this is very likely you have only one user allowed to access the API. Just click on Link Users from the settings tab to allow more development users to the API.

enter image description here

After that click on Regenerate Access token button and use that token.

like image 110
Sameer Avatar answered Jul 03 '26 01:07

Sameer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!