Hello all,
I am Sugandha. I have been using SAP Build Apps for quite some time and I am facing issues while configuring SAP BTP destination REST API integration. When I am testing the inputs, it gives me error 404. I have followed all the steps given in the below tutorial (attaching the link). - https://developers.sap.com/tutorials/build-apps-workflow-trigger.html#23115af3-8c2e-487a-b50a-ecdc7c... (please refer to step no.5 for my query. I am stuck on that). As per the error, my definition ID is incorrect but I am just copy-pasting it.
Attaching an image for your refernce -
Please guide me. Thank you in advance.
Request clarification before answering.
If you have created destination as described in Create Destination to Trigger Process From any Service / Step 3 , the url of the destination may be wrong. Use the url from SAP Build Lobby / Control Tower / Unattended Triggers/ [Your Process Trigger] / View (refer to: Run the Sales Order Business Process / Step 3 )
Also: It is better to create the destination with Authentication as OAuth2JWTBearer. Then "Started By" for tasks will get correct value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here is the response -
{ "message": "Request failed with status code 404", "name": "AxiosError", "stack": "AxiosError: Request failed with status code 404\n at Sr (https://d8efaf43trial.design-time.us10.apps.build.cloud.sap/assets/chunks/axios-fa73bef5.js:135:1037...n at https://d8efaf43trial.design-time.us10.apps.build.cloud.sap/assets/chunks/useDestinations-cc2f603b.j...n at ne.request (https://d8efaf43trial.design-time.us10.apps.build.cloud.sap/assets/chunks/axios-fa73bef5.js:137:3098)", "config": { "transitional": { "silentJSONParsing": true, "forcedJSONParsing": true, "clarifyTimeoutError": false }, "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 0, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": -1, "maxBodyLength": -1, "env": {}, "headers": { "Accept": "application/json, text/plain, */*", "Content-Type": "application/json", "Authorization": "Bearer undefined" }, "url": "", "method": "post", "data": "{\"definitionId\":\"us10.d8efaf43trial.salesorderexperimental.orderProcessing\",\"context\":{\"salesorderdetails\":{\"orderAmount\":123456789}}}" }, "code": "ERR_BAD_REQUEST", "status": 404 }
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.