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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Error retrieving data from CRM with message "One or more errors occurred"

(0) ShareShare
ReportReport
Posted on by 57

Hello

While trying to extract additional data from CRM for each account in a list the following fails throwing an exception with the message "One or more errors occurred"

protected HttpResponseMessage response = null;
protected HttpClient client = null; 

response = client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).Result;

at the moment of the failure the url looks like 

https://domain.api.crm.dynamics.com/api/data/v9.1/accounts(5a2f18bf-554a-e911-a955-000d3a110bbd)?$select=accountid,_ownerid_value.......

please note that I explicitly changed the real domain by "domain" and additional fields where on the list.

The returned message does not tell me much about the nature of the error.

Thank you in advance for your support.

I have the same question (0)
  • Verified answer
    Enediel Gonzalez Profile Picture
    57 on at

    I modified the code to create only one "client" object while running the application and the error disappeared, before multiple of them were creating during the download process. That solved my problem.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans