Wrong number of segments in token (OAuth Google Api)
问题 My end goal is to send email to myself via Google Gmail API. And here is my problem. When i'm getting my access token an error pops up Fatal error: Uncaught exception 'Google_Auth_Exception' with message 'Wrong number of segments in token: ' I read here Cloud endpoints oauth2 error that "This DOES NOT mean your token was invalid" , but i'm getting a fatal error that interrupting my script. My access token looks like this 4/MqiIIl5K4S3D4iiieHshQt5D4M79oo07SbhMn22oe2o