See thanks in American Heritage Dictionary 4 Idioms
no thanks to
Without the benefit of help from: finally found the house, no thanks to these confusing directions.
thanks to
On account of; because of: “our national good fortune in having avoided, thanks to the religion clauses of the First Amendment, the dismal possibilities of religious censorship”(Benno C. Schmidt, Jr.)