on 2022 Jun 22 6:50 PM
Hi All,
I am working on this tutorial "Use Machine Learning to Classify Data Records" available on this link https://developers.sap.com/mission.cp-aibus-data-attribute.html.
At this step "Get an access token" in this tutorial given here - https://developers.sap.com/tutorials/cp-aibus-dar-upload-data.html I am getting an error as shown below with the message, "Could not send request"
Why is it failing and how do I fix it?
This is how I've defined the values in Postman app
Not sure where the error is and why the GetAuthorization fails. Can anyone please help to fix it.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
In your Postman Environment, use the variables name: "hostname" instead of "url1", and "authentication_endpoint" instead of "url" (as explained in https://developers.sap.com/tutorials/cp-aibus-dar-setup-postman.html). This should fix the issue.
Bear in mind that if you use the "Set up account for Data Attribute Recommendation" booster as detailed in https://developers.sap.com/tutorials/cp-aibus-dar-booster-postman.html, the credentials are automatically entered in the Postman Environment and no setting up is needed. I've just tested the GET Authorization endpoint using the Postman Collection and Environment files that I downloaded from the booster response and it worked fine (see https://developers.sap.com/tutorials/cp-aibus-dar-booster-postman.html#eae80a66-2b21-40d2-8a24-b21ef.... You could also try that instead of trying to fix your Postman Environment.
Best regards,
Juliana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
20 | |
9 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.