Getting a 503 HTTP response code while making a BigQuery API request.

0 votes

I am getting a 503 HTTP response code while making a BigQuery API request. How do I know what is wrong?

Nov 15 in GCP by anonymous
• 4,330 points
28 views

1 answer to this question.

0 votes

This error returns when there is a temporary server failure such as a network connection problem or a server overload.

In general, wait a few seconds and try again. 

However, there are two special cases for troubleshooting this error: jobs.get calls and jobs.insert calls.

jobs.get calls

  • If you received a 503 error when polling jobs.get, wait a few seconds and poll again.

  • If the job completes but includes an error object that contains backendError, the job failed. You can safely retry the job without concerns about data consistency.

jobs.insert calls

If you receive this error when making a jobs.insert call, it's unclear if the job succeeded or not. In this situation, you'll need to retry the job.

answered Nov 15 by Sirajul
• 40,980 points

Related Questions In GCP

0 votes
1 answer

How do I create a BigQuery Dataset using the console?

To create a dataset: Open the BigQuery web ...READ MORE

answered Nov 15 in GCP by anonymous
• 40,980 points
23 views
0 votes
1 answer

Assign access control to a BigQuery Dataset.

You can apply access controls during dataset creation by ...READ MORE

answered Nov 15 in GCP by Sirajul
• 40,980 points
29 views
0 votes
1 answer

Permissions required to update a dataset.

At a minimum, to update dataset properties, ...READ MORE

answered Nov 15 in GCP by Sirajul
• 40,980 points
31 views
0 votes
1 answer

Change default expiration time for a dataset.

You can update a dataset's default table ...READ MORE

answered Nov 15 in GCP by Sirajul
• 40,980 points
28 views
0 votes
1 answer
0 votes
1 answer