I get an authentication/authorization failed error after submitting the form