on 11-17-2021 6:52 PM
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.
Thank you.
Hi @vsp4btp
you must first sign in to your cloud foundry dev space before you can deploy your application to it.
If not already done, enable your cloud foundry on subaccount level (Overview) and create a space called "DEV".
Back in SAP Business Application Studio (BAS) select the "View -> Find Command ..." menu. Enter "CF" and select the "CF: Login to Cloud Foundry" entry. Follow the steps as described in the BAS.
Once you have successfully signed in to your cloud foundry space, try deploying your .mtar file again.
Hope, this helps you!
BR,
Illya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Thanks
Kapil Jain
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.
--Jerry
Got it finally !! Thanks to Denys van Kempen !!
Used the cf login --sso option from built-in terminal in BAS and got the temp auth code.
Authenticated myself with that temp code.
But, why BAS is not accepting my actual password is till a mystery to me.
Subject | Kudos |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.