Print this page

Bulk Query for CSV content type returns a CSV response with a standard message when no records returned

Knowledge Article Number 000232223
Description Bulk Query operation for CSV content type returns a CSV response with a standard message when the Query returns zero records. This response file does not include header column but is still a valid CSV and contains following message to explain that the Query did not return any records. This is expected behavior and is working as designed.

"Records not found for this query"

Some customers relying on the bulk query results CSV format having an integration may notice this as invalid format as the no-result returned CSV file does not have any column header info. Developers need to take this into consideration if their integration uses bulk query results CSV format.

You may access our developer discussion forum for more help at https://developer.salesforce.com/forums




promote demote