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, 2019 in GCP by anonymous
• 6,260 points
1,852 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, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer
0 votes
2 answers
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, 2019 in GCP by Sirajul
• 59,230 points
1,891 views
0 votes
1 answer

Permissions required to update a dataset.

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

answered Nov 15, 2019 in GCP by Sirajul
• 59,230 points
1,773 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, 2019 in GCP by Sirajul
• 59,230 points
1,760 views
+1 vote
1 answer

Error while using a HTTP Cloud function in GCP.

If CORS isn't set up properly, you're ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 59,230 points
1,158 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP