ERROR: secretKey was set and not provided correctly