
The given response usually indicates that the connector is receiving an empty or null response, or the response content is not being properly parsed or formatted. Can you please check the following areas?
Here are some key points and troubleshooting tips to resolve this:
Check Content-Type and Encoding: Let's make sure that the API response’s Content-Type header matches what your connector expects (e.g., application/json). Mismatched encoding or content types can cause parsing errors.
Handle Empty or Null Responses: Some APIs return empty bodies or null characters (\u0000) in certain cases. Add validation or default handling in your connector or downstream flow to manage such cases gracefully.
Update or Re-import the Connector: Sometimes re-importing or updating the connector definition can resolve schema or caching issues.
Check the API Response: Verify that the backend API or service your custom connector calls is returning a valid, non-empty response. Use tools like Postman or curl to test the API endpoint directly and confirm the response content and format.