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.
O
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:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148