@MikeyB a tiny bit late but sure, If you're getting the invalid grant error due to exact same motive like me Then you definately address it by resetting the secret key during the google console and go in the token generation move once again While using the new magic formula https://justpaste.it/hlfim