BigQuery Error: Could Not Handle the Request, Error Code 500 or 502

BigQuery Error: Could Not Handle the Request, Error Code 500 or 502

This article will assist you with the following errors:

Error: could not handle the request (500), Error: could not handle the request (502)

The description for a BigQuery error in the logs in your PMA hub.

Cause

These errors can occur when your export is larger than BigQuery's limits. This will cause your export to fail.

Solution

Make sure your reports contain fewer than 40,000 rows. If you are exporting a larger amount of data, please follow the steps in BigQuery Export Limitations.