"Security header is not valid" means there is an issue with your credentials. Maybe you are using live credentials on sandbox or vice-versa. It could also be you are using a paid for service that you aren't subscribed to (taking credit cards on your site directly). If you give me FTP access and steps to reproduce then I could probably tell you which issue you are running into.