Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://api.dropboxapi.com/2/files/get_metadata` resulted in a `400 Bad Request` response:
Error in call to API function "files/get_metadata": Invalid authorization value in HTTP header/URL parameter
in /var/www/html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /var/www/html/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create()
#1 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler()
#3 /var/www/html/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run()
#5 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/html/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/html/vendor/guzzlehttp/guzzle/src/Client.php(124): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php(57): GuzzleHttp\Client->send()
#11 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/DropboxClient.php(161): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send()
#12 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(273): Kunnu\Dropbox\DropboxClient->sendRequest()
#13 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(243): Kunnu\Dropbox\Dropbox->sendRequest()
#14 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(225): Kunnu\Dropbox\Dropbox->postToAPI()
#15 /var/www/html/test.php(10): Kunnu\Dropbox\Dropbox->getMetadata()
#16 {main}
Next Kunnu\Dropbox\Exceptions\DropboxClientException: Error in call to API function "files/get_metadata": Invalid authorization value in HTTP header/URL parameter in /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php:59
Stack trace:
#0 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/DropboxClient.php(161): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send()
#1 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(273): Kunnu\Dropbox\DropboxClient->sendRequest()
#2 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(243): Kunnu\Dropbox\Dropbox->sendRequest()
#3 /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(225): Kunnu\Dropbox\Dropbox->postToAPI()
#4 /var/www/html/test.php(10): Kunnu\Dropbox\Dropbox->getMetadata()
#5 {main}
thrown in /var/www/html/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php on line 59