Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Failed to create a new engineering change request via API

Posted on by 5

Hi guys,

I have a problem creating a new ECR (Engineering change request) via API. I get the following error message: "Warning: Requester must be current worker; Error: validateWrite failed on data source 'EngChgEcmRequest'". What does this error mean and how can I fix it? Thanks.

  • SignVijay Profile Picture
    SignVijay 5 on at
    RE: Failed to create a new engineering change request via API

    O

  • Chris Haley Profile Picture
    Chris Haley on at
    RE: Failed to create a new engineering change request via API

    If you are using the OData endpoint, the data entity has validation to ensure that the 'RequesterPersonnelNumber' field on the header matches the personnel number of the user who is authenticated. This is aimed at edit in excel scenarios, but if you are building an integration and you would have a single service account connecting but potentially have different 'requestors' then you'll face this error unless you customise the entity.

    You could get around this limitation by using the data management API instead of the OData endpoint:

    learn.microsoft.com/.../data-management-api

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans