Upon upgrading to package 3.* (now using google api 2.*) and running composer update, the REST.php script in the google api library is throwing the following exception:
{ "error": "invalid_request", "error_description": "Required parameter is missing: grant_type" }
I can't find many references in the google api docs themselves to grant_type, so I'm not sure yet where the problem lies. But I am using an offline access_type and therefore pass a refresh token and access token. But everything works with the most recent 2.* version.
Upon upgrading to package 3.* (now using google api 2.*) and running
composer update
, the REST.php script in the google api library is throwing the following exception:{ "error": "invalid_request", "error_description": "Required parameter is missing: grant_type" }
Here's a bit of my stacktrace
I can't find many references in the google api docs themselves to
grant_type
, so I'm not sure yet where the problem lies. But I am using an offline access_type and therefore pass a refresh token and access token. But everything works with the most recent 2.* version.