# 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.](https://knowledge.powermyanalytics.com/application/troubleshooting/images/bigquery-error-could-not-handle-the-request-error-code-500-or-502-1.png)

## 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](https://knowledge.powermyanalytics.com/application/troubleshooting/bigquery-export-limitations/).
