Skip to main content

Notifications

Dynamics 365 general forum
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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans