Can you check that this returns a invalid return code on failure or with bad data? Thanks.