Skip to main content
Feedback

RVR-RCT-105

  1. Issue Summary

    • The error message "Invalid Response type is not jsonError Code: RVR-RCT-105" occurs when using a REST Action Data Connector in Data Integration, indicating that the response returned from the API is not in JSON format. This error typically happens when the API connected to by the Rest Action returns an unexpected format (e.g., plain text, XML, etc.) instead of JSON, which Data Integration expects by default.
  2. Action Steps:

    • Verify the API endpoint you are interacting with to ensure it returns JSON data. This might involve checking the API documentation or testing the endpoint separately using tools like Postman or cURL.
    • Configure your REST Action in Data Integration to safely handle different response types. If the API can sometimes return non-JSON responses (e.g., errors or notifications), consider adding validation or checking mechanisms after retrieving the data.
    • Review the headers set in your REST Action request. Make sure you're setting the Accept header to application/json to explicitly request a JSON response from the server.
    • If your API might return other content types, ensure you handle these cases separately. Include additional logic to parse or transform the content into a JSON format if possible, using custom scripts or additional processing actions in your river.
    • Test the Rest Action by clicking the "Test Rest Action" button in Data Integration’s interface to see the full API response and adjust your settings accordingly.
  3. External References:

    • For more detailed guidance on setting up REST Actions in Data Integration, you can refer to Data Integration official documentation: REST Actions Overview.

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