Warning: file_put_contents(token.json): failed to open stream: Permission denied in /var/www/mrantony/data/www/mrantony.ru/tracker/index.php on line 56

Fatal error: Uncaught exception 'Google_Service_Exception' with message '{ "error": "invalid_grant", "error_description": "Bad Request" }' in /var/www/mrantony/data/www/mrantony.ru/tracker/vendor/google/apiclient/src/Google/Http/REST.php:118 Stack trace: #0 /var/www/mrantony/data/www/mrantony.ru/tracker/vendor/google/apiclient/src/Google/Http/REST.php(94): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #1 [internal function]: Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #2 /var/www/mrantony/data/www/mrantony.ru/tracker/vendor/google/apiclient/src/Google/Task/Runner.php(176): call_user_func_array(Array, Array) #3 /var/www/mrantony/data/www/mrantony.ru/tracker/vendor/google/apiclient/src/Google/Http/REST.php(58): Google_Task_Runner->run() #4 /var/www/mrantony/data/www/mrantony.ru/tracker/vendor/google/apiclient/src/Google/Client.php(843): Google_Http_REST::execute(Object(GuzzleH in /var/www/mrantony/data/www/mrantony.ru/tracker/vendor/google/apiclient/src/Google/Http/REST.php on line 118