Hello ExpertsI am working with the @SAP-ai-sdk/ai-api library to connect to a configured Generative AI Hub and query the available models. However, I'm having trouble identifying the correct API or function within the SDK to use in order to retrieve ...
Hi Experts,We are working with a RAP Singleton OData V4 service that includes validations to restrict the SAVE operation using the FAILED structure under FOR VALIDATE ON SAVE. APPEND VALUE #( %tky = ls_transactional_data-%tky ) TO failed-ProjectSBU...
Hello ExpertsI’m facing an issue with my custom Managed RAP OData V4 service integrated with a Node.js CAPM-based custom Fiori app. The app is a read-only report running in the SAP BTP environment.To address payload query length issues, we have enabl...
Hello ExpertsWe are developing a CAP Fiori application that displays a read-only report. The application retrieves data via an OData V4 service exposed from an ABAP backend. The issue arises when user applies filters in the report. Since the backend ...
Hi Experts
We get this error after filling key values into table fields based on this custom RAP service (TMG using RAP Service). The service is created using the Business Configuration Maintenance Object generator in ADT.
Delivery class of Pr...
Hello @deekshasinhaThank you for your response.How is it going to be customized for this Standalone SDK Configuration (For testing AI Hub APIs) script to make use of the available SDK API calls?Now I'm able to generate the access token successfully u...
Hi Vitaliy,Thanks for your response! I now understand how to use the function. However, I’m still unclear on how authentication with AI Core is handled. Error: Could not find service credentials for AI Core. Please check the service binding. I'm enco...
Is package @SAP/generative-ai-hub-sdk not available on the public npm registry ? Getting error when installing in BAS: npm error 404 Not Found - GET https://registry.npmjs.org/@sap%2fgenerative-ai-hub-sdk
I finally able to fix it! I was using the wrong event handler to modify the request headers, which prevented the Accept: multipart/mixed header from being correctly applied to batch requests. this.before('READ', 'remotesrv', async (req) => {
...
I’ve identified the root cause of the batch failure. The POST BATCH request (which consists of a GET call) expects the following header on the outer HTTP request:Accept:multipart/mixedNow, I need to ensure that these headers are applied only to batch...