Forum Discussion

pradeep_moganti's avatar
pradeep_moganti
New Contributor II
5 years ago

Google REST API Error

Hello Everyone,

We are using REST Post snap to push files to a Google Drive. The pipeline is working as expected but when we schedule the pipeline, it is throwing 400 error after running for couple of times.

Following is the error that we see

Error Reason : Snap errors: {ruuid=0123456789, label=gDrive - Meta Data Config, failure=Error reading account, reason=Snapi request failed: {"response_map": {"error_list": [{"message": "Request from accounts.google.com returned an error (response code: 400, response: {\n  \"error\": \"invalid_request\",\n  \"error_description\": \"Missing required parameter: refresh_token\"\n})"}]}, "http_status_code": 500}, resolution=null}

Btw, we enabled auto_refresh token option in REST OAuth2 Account Still the issue remains same.

Please let us know if anyone has faced this issue before or has any idea on how to fix this one.

Thanks,
Pradeep.