dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
292 stars 134 forks source link

production.ERROR: refresh token must be passed in or set as part of setAccessToken {"userId":1,"exception":"[object] (LogicException(code: 0): refresh token must be passed in or set as part of setAccessToken at /home/forge/website/vendor/google/apiclient/src/Client.php:332) #256

Open Snakzi opened 1 year ago

Snakzi commented 1 year ago

Hello,

somehow on production I get this 500 error. In local everything works fine. It worked fine all the time but after doing composer upgrade I occasinally get this error. The only fix is to delete the json file.

Best regards

vectrus commented 1 year ago

Same problem, devserver is fine, production produces this error. I've been at it for 2 days, any help much appreciated

dokicro commented 1 year ago

https://github.com/dacastro4/laravel-gmail/issues/242#issuecomment-1370477929

This comment has saved me :)