RVR-PPR-002
- 1 Minute to read
- Print
- DarkLight
- PDF
RVR-PPR-002
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Issue Summary
- The error "Response content cannot be parsed to JSON" with Error Code: RVR-PPR-002 indicates that the response obtained from the Pepperjam API 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:
- Inspect API Response: Check the response body returned from Pepperjam to see if it contains valid JSON. You might want to manually send a request using a tool like Postman or curl to see the actual response content.
- API Endpoint Verification: Ensure that the correct Pepperjam API endpoint is being used and that any required parameters are correctly included.
- Check Content-Type Header: Make sure that the response has the
Content-Type
header 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: Utilize Rivery's "Test Rest Action" feature to debug and confirm the setup if you're making use of Rivery's REST Data Source【4:9†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 Rivery 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.
If the issue persists or you need further assistance, please open a ticket with Rivery support.
Was this article helpful?