I am doing the exercises for DEV164 (Workflows). I have successfully finished the step "Build MTA Project". I can see the WFTutorial_0.0.1.mtar file. But, when I try to perform the next step "Deploy MTA Archive", I am getting the below error:
Authentication failed: API endpoint: https://api.cf.us10.hana.ondemand.com Authenticating... Password: API endpoint: https://api.cf.us10.hana.ondemand.com API version: 3.108.0 Not logged in. Use 'cf login' or 'cf login --sso' to log in. FAILED
I am unable to proceed with my exercises. Please help me get over this error.
You need to click on the new terminal command and write cf login. In that you need to provide your subaccount user id and password.
once successful login you need to right click on the mtar file generated and deploy it.
Yes - you need to login to the right subaccount and space, before you deploy the workflow. On the left bottom, you will have the option to setup your organization OR use the cf login CLI command to setup the target to which you want to deploy the workflow.
Please note that cross-posting identical content is against our rules of engagement (https://community.sap.com/resources/rules-of-engagement). Specifically, the rules forbid: "Posts that are of duplicate content, whether from a single account or across multiple accounts from the same user, within the community."
This question also appeared at https://answers.sap.com/questions/13526422/authentication-error-while-deploying-mta-archive.html, and that's where the answer from Denys van Kempen appears.
For that reason, I am going to lock this thread and recommend that people go to the link above for additional information.