Ok. I will always check for error codes. This small line could have saved me a sleepless night.