pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Query tool returns "cannot unpack non-iterable Response object" on running any query with database name change

Open anilsahoo20 opened this issue 9 months ago • 0 comments

Please note that security bugs or issues should be reported to [email protected].

Describe the bug When we run any query after database name change, it returns cannot unpack non-iterable Response object

To Reproduce

Steps to reproduce the behavior:

  1. Open Query tool
  2. Write a select query for any table
  3. Execute it
  4. Disconnect from database
  5. Disconnect the server
  6. Reconnect the server from Tree
  7. Change database name
  8. Execute the already written query
  9. Reconnect Query tool as it was disconnected on sever disconnection
  10. Output is error-cannot unpack non-iterable Response objectExpected behavior

Query should return the proper output.

Error message

Error-cannot unpack non-iterable Response object

Screenshots

Image

anilsahoo20 avatar Mar 28 '25 10:03 anilsahoo20