Imported query error

I've added a query to Retool query library, and imported it into my app.

I get the error Can not run latest version of imported query without playgroundQueryUuid when attempting to run it. What does this mean?

I was eventually able to get through this by re-selecting the imported query in the dropdown and re-adding my query parameters, but I'm not sure what the error was.

Hi @npr,

Thanks for reaching out!

This error only happens when the resource type is "Import from query library", but there is no query selected:

I see in the logs that your request was sent without any query information. Maybe there was a networking issue where the query triggered before the selected query & params were saved :thinking:

It looks like your org has had this error come up a few more times, but I haven't been able to reproduce the issue in my own Retool org. Next time it happens, it might be helpful to see a screen recording with the network tab open, so we can make sure there isn't a bug with importing queries

1 Like

Hi @Tess thanks for the reply; I think I figured it out, and it's happening because (to your point) I am attempting to rename the query before hitting "Save & Run" for the first time, which clears the "Select query" field.

I was assuming that it would remain in the field but also makes sense if the behavior is intended to clear the fields on a rename.

Thanks for following up! I am able to reproduce that issue - looks like a bug. I'll report it to our team for a fix

1 Like