Bad applyCredsToData call