Unable to delete or load data with Sheets

First web get request to get exact row number

Second web get request to delete the obtained row number

And this apps scripts deletes exact row based on the matching data with col B by sending single web get request