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

Announcements

No record found.

News and Announcements icon
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?
Screenshot 2025-05-12 093752.png
Screenshot 2025-05-12 093842.png
I have the same question (0)
  • Suggested answer
    Muhammad Shahzad Shafique Profile Picture
    2,375 Most Valuable Professional on at
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 174

#2
ManoVerse Profile Picture

ManoVerse 58 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans