on 2025 Jan 09 9:25 AM
Hi all!
I'm new in the BTP developement and am facing some issues. Specifically in setting up the connection between the BTP and my company's tenant in ByD.
I've looked already into all previous issues and tutorials, but neither helped me solving my problem.
I've already set up a destination in my btp cockpit twice: One for my actions (not specific, tests as "302 redirect") and one for my Apps (specific, tests as "200 OK", that points to an oData Service as mentioned here My first steps with BTP destinations (S/4HANA) in ... - SAP Community )
When adding the Actions to my Build env, i can see the data in the playground, when i try to execute the action in my test App either i don't see the request beeing made at all or i see an Error 500.
When I try to add the destination as an Integration i get Error 404 for the one i used for my Actions and 400 for the one i made specific for the App. Bottomline I can't add them in this way.
destination details:
{
"name": "byd_test_integration_CLONING",
"description": "a connection to the test environment",
"mobile_enabled": false,
"action_enabled": true,
"apiType": "catalog",
"sapSalesAndServiceCloud": {
"is_mashup": false,
"is_api_metadata": false,
"is_api": false
},
"is_catalog": true,
"is_appgyver_metering": false,
"is_dynamic": true
}request details:
{
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"x-csrf-token": "xxx",
"x-requested-with": "XMLHttpRequest"
},
"baseURL": "/destinations_api/v2/destination/byd_test_integration_CLONING",
"data": "{\"headers\":{\"accept\":\"application/json, text/plain, */*\"},\"url\":\"\",\"method\":\"get\"}",
"adapter": [
"xhr",
"http",
"fetch"
]
}respone details:
{
"status": 400,
"headers": {
"content-length": "188",
"content-type": "application/json; charset=utf-8",
"date": "Thu, 09 Jan 2025 09:13:17 GMT",
"etag": "W/\"bc-tSIwzw3CuFMtYZmKug+emEGrR1U\"",
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"x-correlation-id": "xxx",
"x-frame-options": "DENY",
"x-request-id": "xxx"
},
"data": {
"error": "Error: Request failed with status code 400\n---\nRequest failed with status code 400\n",
"message": "Request failed with status code 400\n---\nRequest failed with status code 400"
}
}Instance details:
{
"tenant_id": "xxx",
"user_id_for_sentry": "JWTUserId:xxx",
"environment": "eu10",
"location": "https://xxx/builder/applications/176610/data",
"cfdomain": "xxx",
"enabled_features": [
"newTopNav",
"releaseManagement",
"adobeTracking",
"getUserInfo",
"vcfEnableOpaAuthorization",
"actionIntegration",
"useMobileAppRepackaging",
"useWebBuildDependencyProxy",
"customRequestHeader"
],
"datetime": "2025-01-09T09:13:18.808Z"
}When I try to integrate as legacy entities, both destinations aren't discovered in the SAP BTP Destination REST API Integration as options.
I tryied adding the Endpoint as Universal REST Api Integration, but I get 401 Unauthorized as an answer even though i've explicitely set the Authorization header with the correct base64 credential.
I've also tryied adding as plain oData, but again, 401 not Authorized.
Is there a standard way to add a ByD Destination with which i can interact in a Build Apps use case? Or a step by step guide? I really doubt that I'm the first one facing such problem...
Request clarification before answering.
Instead of Basic Authentication you should setup Configure OAuth 2.0 for SAP ByDesign OData Services
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.