I have connected to a Retool Database with PostgreSQL. However, I'm unable to get any test data to come through. I'm trying to use the new or Updated Row trigger, but have also tested with just the "New Row" trigger. Both of them give me a similar error:
Unable to pull rows Please reload the page. If the issue persists, troubleshoot error or contact Support. Error code: Error while retrieving: 'id'
Unable to pull new rows Please reload the page. If the issue persists, troubleshoot error or contact Support. Error code: Error while retrieving: 'type'
I know it is connected as I can choose the table, but nothing else populates correctly in dropdowns.
I've been working with Zapier's support team on the issue as well, so here's my progress/more info:
Here is a video of what is happening: Troubleshooting Zapier Integration for Database
Zapier Support:
Thank you for your patience as I reached out to a colleague to get another set of eyes on this one.
We did determine that the columns not appearing in the dropdown should not have much of an affect on how the Zap behaves with custom values as you have set up here. One thing I did notice, however, is that the "date_updated" text added to the Order By field does not appear as a column within your view according to the video. This field would need to be set as a column, and should ideally be a datetime column that is set to the current datetime whenever a row is updated. Once that is set up, that should be able to be used in the trigger.
Another theory is that no test records could be loaded due to us getting NULL for the sort fields. You should be able to workaround this by creating a view that excludes null values for the Order By field.
Ben: I did try testing with those suggestions, but continue to receive an error. Here is another video.
Zapier Support:
I took a look into this and I have to admit, I'm also stumped as to why this is occurring. My first instinct is to return to the connection/authentication and have you completely remove the one that exists and restart the authentication process from the start.
You should be able to do that from your connections page here -
https://zapier.com/app/connections
Can you tell me a bit more about the Schema being used here? Are any tables in this database being referenced from another database? Is there anything strange that you can think to mention about its structure?
Ben: 1. I deleted the connection and reconnected. I still got the error.
- I don't think there is anything strange with the database. It's on Retool and there is only 1 basic (we do reference other tables, but it's all one database).