Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } in /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create() #1 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #2 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler() #3 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run() #5 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending() #7 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList() #8 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #9 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/guzzle/src/Client.php(129): GuzzleHttp\Promise\Promise->wait() #10 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/google/auth/src/HttpHandler/Guzzle6HttpHandler.php(47): GuzzleHttp\Client->send() #11 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/google/auth/src/OAuth2.php(526): Google\Auth\HttpHandler\Guzzle6HttpHandler->__invoke() #12 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/google/apiclient/src/Google/Client.php(302): Google\Auth\OAuth2->fetchAuthToken() #13 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/gmail.php(21): Google_Client->fetchAccessTokenWithRefreshToken() #14 /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/gmail.php(40): getClient_gmail() #15 /var/www/vhosts/justapp.id/httpdocs/member/halaman/konfigurasi/fungsi.php(3): require_once('...') #16 /var/www/vhosts/justapp.id/httpdocs/member/halaman/bagian/atas.php(32): require_once('...') #17 /var/www/vhosts/justapp.id/httpdocs/member/index.php(6): include('...') #18 {main} thrown in /var/www/vhosts/justapp.id/httpdocs/member/halaman/library/google_oauth/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113