Forum Discussion
JDBOS
Helper III
5 years agoDataset Refresh Error: 431 - "Request Header Fields Too Large."
We have a several Power BI Service reports that have been refreshing without errors for six months. Recently, we've started getting this msg: An error occurred while processing the data in the d...
- 5 years ago
. Based on the troubleshooting, Fiddler trace and the error, below are the points which will help you to resolve or reach out to Salesforce for your issue:
- On fiddler I have studied the request headers being sent from your Power Bi to Salesforce and the header has 16470 lines of request being passed to Salesforce.
- The limit set by Salesforce is 16,000 characters and 1000 for the API call to be received so that it can process the request
- The limit is 1000 for the number of calls being made and the character length limit is 16,000 characters for salesforce
- This can be seen on their post as well: apex - How to fix error 431 Request Header Fields Too Large . HTTP CODE[431] in Anonymous Window - Salesforce Stack Exchange
- The iDataReader interface connects your .Net framework to pass the request to the datasource and if the datasource doesn’t respond with the request then it will throw the error
- In summary, you would have to reduce the number of columns that you are writing or adding in your M-Query to resolve this issue
- Once the characters are less than 16,000 characters the issue would be resolved as Salesforce would be able to comprehend those many characters
Anonymous
5 years agoNot applicable
Hi JDBOS ,
The HTTP 431 response status code indicates that the server refuses to process the request because the request’s HTTP headers are too long. The request may be resubmitted after reducing the size of the request headers.
Please try to clear cookies.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.