Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Critical error: No Configuration found in CRM" When trying to do bulk deletion through ODATA API

Posted on by 5

Hello CRM experts.

I am trying to delete in bulks via ODATA API but i keep getting the following error in my existing environment even though it works if i create a new instance and manually populate it:

[--batchresponse_cb364cd1-51b5-4a69-a8b5-aa2f05bbcc4aContent-Type: multipart/mixed; boundary=changesetresponse_b4db67b2-502e-4225-a2c6-d82ce3a6ac2d--changesetresponse_b4db67b2-502e-4225-a2c6-d82ce3a6ac2dContent-Type: application/httpContent-Transfer-Encoding: binaryContent-ID: 1HTTP/1.1 400 Bad RequestREQ_ID: d9c65a11-6151-48e8-94ca-b326f37c0b13Content-Type: application/json; odata.metadata=minimalOData-Version: 4.0{"error":{"code":"0x80040224","message":"Critical error: No Configuration found in CRM"}}--changesetresponse_b4db67b2-502e-4225-a2c6-d82ce3a6ac2d----batchresponse_cb364cd1-51b5-4a69-a8b5-aa2f05bbcc4a--

Batch example:

--batch_id
Content-Type: multipart/mixed; boundary=changeset_id

--changeset_id
Content-Type: application/http
Content-Transfer-Encoding:binary

DELETE https://xxxxx/api/data/v9.2/accounts(b8xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) HTTP/1.1
Content-ID: 1
Accept: application/json;q=0.9, */*;q=0.1
OData-Version: 4.0
Content-Type: application/json
OData-MaxVersion: 4.0

--changeset_id
Content-Type: application/http
Content-Transfer-Encoding:binary

DELETE https://xxxxx/api/data/v9.2/accounts(b8xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) HTTP/1.1
Content-ID: 2
Accept: application/json;q=0.9, */*;q=0.1
OData-Version: 4.0
Content-Type: application/json
OData-MaxVersion: 4.0

--changeset_id--
--batch_id--

I cannot find anything related to this error message and if i go by the error code i get a completely different error.

Any suggestions?

Kind regards
Tobias

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Critical error: No Configuration found in CRM" When trying to do bulk deletion through ODATA API

    Hi Tobias From,

    Try to delete this record from the user interface. It will help you to find the cause.

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Critical error: No Configuration found in CRM" When trying to do bulk deletion through ODATA API

    Hi,

    Please disable any custom plugin and workflow to confirm that it is not caused by any customization

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans