Skip to main content
Solved

FME Flow - Failing to retrieve refresh token from GCP

  • January 14, 2026
  • 6 replies
  • 79 views

fmejohn93
Contributor
Forum|alt.badge.img+7

We setup an OAuth client in GCP that we’re trying to get working with FME Flow. I have installed the safe.google-bigquery package on FME Form and configured the web service with our unique client information from GCP. See below

 

I then created a web connection based on this web service and uploaded this and a workspace utilizing this connection to our FME Flow instance. The workspace succeeds initially, presumably until the access token expires, but is failing with the following error after an hour or so:

 

 

It works again if I manually re-authorize the connection so I believe Flow is failing to retrieve a refresh token from GCP:

 

Any help would be appreciated. Thanks!

Best answer by TandraAtSafe

I’m sorry to hear that the refresh token still isn’t working. It might be best if you create a case ticket at this point and someone can take a deeper look into the log files and other configurations. 

6 replies

TandraAtSafe
Safer
Forum|alt.badge.img+8

Hi ​@fmejohn93, this is a frustrating issue for sure. 

Often times when web connections work temporarily on FME Flow the issue is the web service from Form. I haven’t personally used BigQuery, but this issue arises for other OAuth 2.0 web connections. 

Did you create a copy of the Google BigQuery template before adding your credentials and uploading that to FME Flow? Part 2 in the article Creating an OAuth 2.0 Web Service and Connection in FME explains how to do this. 


fmejohn93
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 16, 2026

Tandra,

 

Thanks for your response. I did try creating a new web service and connection based on the Google BigQuery (safe.google-bigquery) template and performed the initial authorization on FME Form. Once I published that connection, service and workspace to Flow, the job succeeded even though it says this new web service has not been configured for Web authorization.

I will try the workspace again later and see if I get any error


TandraAtSafe
Safer
Forum|alt.badge.img+8

There are two parts to authenticating web services on FME Flow. First you need to add the details (client secret and redirect URI) under “Manage Web Services”, then you can authenticate the connection in Web Connections. 

If the steps in Manage Web Services aren’t completed, the Authorize button will be greyed out. 
 

Were both steps completed? 


fmejohn93
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 16, 2026

Tandra,

 

After adding the client secret and redirect URI for this new web service and authenticating it, I run into the same error in my original post: works at first and then fails when trying again after roughly an hour.


TandraAtSafe
Safer
Forum|alt.badge.img+8
  • Safer
  • Best Answer
  • January 16, 2026

I’m sorry to hear that the refresh token still isn’t working. It might be best if you create a case ticket at this point and someone can take a deeper look into the log files and other configurations. 


fmejohn93
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 16, 2026

Thanks, I’ve just submitted a case ticket regarding this issue