searchRecordsByEmail throws exception 402 "No Content"

searchRecordsByEmail throws exception 402 "No Content"

Hi!

I'm trying to search contacts by a given email:

$zcrmModuleIns = ZCRMModule::getInstance("Contacts");
$bulkAPIResponse = $zcrmModuleIns->searchRecordsByEmail("emai@email.com");
$records = $bulkAPIResponse->getData();

When contacts with specified email exist, the above code works fine.
But if there are no such contacts it throws exception 402 "No Content".

Is it normal?

Thanks!