RVR-PPR-002
Issue summary
- The error "Response content the system cannot parse to JSON" with Error Code: RVR-PPR-002 indicates that the Pepperjam API returned a response that is not in the expected JSON format, or there is an issue parsing the JSON. This typically occurs when there is a malformed JSON response from the API, or possibly an unexpected response format (e.g., HTML error page or XML).
Action steps
To resolve the error, follow these steps:
- Inspect API Response: Check the response body returned from Pepperjam to verify if it contains valid JSON. You might want to manually send a request using a tool like Postman or curl to verify the actual response content.
- API Endpoint Verification: Ensure that the correct Pepperjam API endpoint is in use and that any required parameters are correctly included.
- Check Content-Type Header: Make sure that the response has the
Content-Typeheader set toapplication/json. If not, there might be a configuration issue on the API side. - Error Handling: Look for any additional error messages in the response. APIs may include error details that are helpful in diagnosing the problem.
- Testing REST Configurations: Use Data Integration "Test Rest Action" feature to debug and confirm the setup if you are making use of Data Integration REST Data Source.
- Validate JSON Format: If you have access to the response payload, use online tools or a JSON validator to check for and fix any syntax errors in the JSON data.
External references
- Refer to Data Integration Documentation for more guidance on using REST API connectors.
- Review the official Pepperjam API documentation (or similar if available) to ensure you have the most current endpoint and request details.
note
If the issue persists or you need help, open a case with Data Integration Support. In the console sidebar, select Help > Contact Us and follow the instructions.