Hi @Sri_Priya - this looks like a connectivity issue where your postgres database may not be configured correctly, timing, or erroring out when Retool attempts to make one of these queries.
If you go to your Resources page (https://yoursubdomain.retool.com/resources) and then select the resource and select "Test connection" as shown in the screenshot below, does it succeed?