Symptom
- A web service intermittently returns no response when a mashup URL is called via SDK to retrieve images from a server.
- The behavior may be sporadic; the same action sometimes succeeds and sometimes returns an empty response.
- In the quote PDF preview, image areas render blank when the response is empty.
- Observed return code: 0 in the web service response.
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
Reproducing the Issue
- Open any affected record.
- Start the custom action that retrieves images (for example, select “Get Images”).
- Open Actions → Preview to generate the PDF.
- Check the first page: if images appear, the call succeeded; if image areas are blank, the mashup call returned an empty response.
Cause
The third‑party endpoint returns code 0, which may indicate indicating a potential firewall, filtering, or CORS configuration issue on the third‑party side. The request leaves the SAP System - only the third party system can confirm why they are returning 0 when the call is received on their side. You must contact the third party system for this information.
Resolution
- Verify that the third‑party image service endpoint is reachable and not blocked by firewall or network filtering from the solution’s execution environment.
- Capture and review network traces (for example, browser developer tools or backend logs) to confirm occurrences of return code 0 for the mashup request.
- Validate and, if needed, update the third‑party server’s CORS configuration to allow requests from the solution’s domain.
- Engage the third‑party provider to investigate why the service returns code 0 and correct the configuration on their side.
- Retest the mashup action and the PDF preview to confirm images render consistently.
See Also
Keywords
PDI, mashup url, sdk, web service, intermittent, empty response, images missing, pdf preview, sales quote, status code 0, third-party endpoint, image retrieval , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem
Product
SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions
SAP Knowledge Base Article - Public