web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Facing Issues with Parsing JSON information using Custom Connector

(1) ShareShare
ReportReport
Posted on by 2
Action 'Get_Records' failed: Http request failed: the content was not a valid JSON. Error while parsing JSON: 'Unexpected character encountered while parsing value: E. Path '', line 0, position 0.'
 
I am trying to fetch information from my Custom connector, which takes in content type as application/json. It is being triggered by a manual triigger, which does provide the output in the form of application/json, yet I am getting the error above.
 
I have looked at the raw output of the trigger, and it looks like a JSON format.
 
How do I resolve this?
I have the same question (0)
  • Suggested answer
    Muhammad Shahzad Shafique Profile Picture
    2,336 Most Valuable Professional on at
    Facing Issues with Parsing JSON information using Custom Connector
    The error indicates your custom connector is returning a non-JSON response, likely starting with an unexpected character like 'E' — often seen with HTML error pages (e.g., Error 403, Error 500, etc.).
    1. Check Raw Response from the custom connector (not just the trigger input).
    2. Verify the API endpoint is:
      • Returning proper application/json response.
      • Not returning an HTML error or plain text (e.g., "Error occurred").
    3. Add error handling (e.g., Configure Run After) to inspect failed responses.
    4. Use Postman or curl to test the connector endpoint independently and confirm it returns valid JSON.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 169

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 67 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 65

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans