on 08-30-2022 2:32 PM
Hi all,
I'm following the Learning Journey -Developing with SAP Integration Suite and I cannot test the proxy api
I get the error message - Unable to fetch response. [Request ID: b7ae3935-4689-47f7-a04d-47a9b7001129]
An error occurred while making the HTTP request.
Everything is set up correctly and I still get this error and as such I can proceed to the rest of the tasks under API Provisioning
I am using the trial version on AWS US East (VA)
Hi benzheng6,
thanks for reaching out to us.
Could you kindly share your project via GitHub so that I could have a quick look into it?
Thanks,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @markushaug ,
I was also facing the same problem. As suggested in previous comments, I tried setting count=false. It seems to have solved the problem partially.
Although, the problem doesn't occur when opening valueList now, it is creating an issue when I use the search button to search for a BP instead of explicitly using the filters (such as 'Menon for Last Name').
Issue:
reason: [AxiosError: Error during request to remote service:
Invalid system query option specified] {
code: 'ERR_BAD_REQUEST',
config: {
timeout: 60000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
proxy: false,
method: 'get',
baseURL: 'https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_BUSINESS_PARTNER',
url: `/A_BusinessPartner?$select=BusinessPartner,FirstName,LastName&$search="Alice"&$top=49&$orderby=BusinessPartner%20asc&$filter=LastName%20ne%20''%20and%20FirstName%20ne%20''`,
data: undefined
},
request: {
method: 'GET',
url: `https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner?$select=BusinessPartner,FirstName,LastName&$search="Alice"&$top=49&$orderby=BusinessPartner%20asc&$filter=LastName%20ne%20''%20and%20FirstName%20ne%20''`,
headers: {
Accept: 'application/json,text/plain',
'accept-language': 'en-US',
apikey: 'dASAlivXs19CsAmAA9sNVo2A2FgrvmVi',
'User-Agent': 'axios/0.27.2'
}
}
GitHub Link: https://github.tools.sap/I553616/extension-suite
User | Count |
---|---|
16 | |
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.