To customize the error message displayed when there is no records found in the portal, follow these steps:
How to customize the "No records found" message in the portal?
Can I change the error message people get when "No records found"?
Updated over a year ago