Transaction refused because of an invalid argument error