RVR-PPR-002
  • 1 Minute to read
  • Dark
    Light
  • PDF

RVR-PPR-002

  • Dark
    Light
  • PDF

Article summary

  1. 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).
  2. 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 to application/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.
  3. External References:

If the issue persists or you need further assistance, please open a ticket with Rivery support.


Was this article helpful?

What's Next