Sending data from a google sheet to another and delete the date from the first google sheet

again: this is not what you are doing, you are sending all queries at the same time to the database

use Do it and show us your Do it result
EDIT: as you are using local variables, you also can use a label to display the query

also what is the response content after trying to delete?

Taifun