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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

"An error has occurred. Write failed for table row of type 'XXEntity'. Infolog: Warning: The value '10646' in field 'Vendor account' is not found in the related table 'Vendors'.; Warning: validateField failed on field

(0) ShareShare
ReportReport
Posted on by 5

Hello Team , 

I have created a Logic App to send data from a Excel file in SharePoint Online to D365FO Custom Entity.

3513.pastedimage1609162520856v1.png

6683.pastedimage1609162580274v2.png

4401.pastedimage1609162704957v3.png

when I run the LogicApp I observe that the values from SharePoint Online Excel is retrieved and as per mapping values are not being stored into D365FO instead it errors out as BadRequest.

{
"status": 400,
"message": "An error has occurred. Write failed for table row of type 'XX'. Infolog: Warning: The value '10646' in field 'Vendor account' is not found in the related table 'Vendors'.; Warning: validateField failed on field 'XX.VendorAccount'.\r\nclientRequestId: aa122e58-621b-477d-85a8-6c46fd9afa19",
"error": {
"message": "An error has occurred. Write failed for table row of type 'XX'. Infolog: Warning: The value '10646' in field 'Vendor account' is not found in the related table 'Vendors'.; Warning: validateField failed on field 'XX.VendorAccount'."
},
"source": "XXXXXXX.sandbox.operations.dynamics.com",
"errors": []
}

Could someone let me know what could be the reason . 

I have the same question (0)
  • zhifeng Profile Picture
    on at

    Validation failed because vendor '10646'  doesn't exist.

  • Martin Dráb Profile Picture
    238,286 Most Valuable Professional on at

    Also, make sure you're writing data to the right company.

    By the way, let me repost your JSON code, to make it easier to read. Next time, please use Insert > Insert Code to paste code.

    {
    	"status": 400,
    	"message": "An error has occurred. Write failed for table row of type 'XX'. Infolog: Warning: The value '10646' in field 'Vendor account' is not found in the related table 'Vendors'.; Warning: validateField failed on field 'XX.VendorAccount'.\r\nclientRequestId: aa122e58-621b-477d-85a8-6c46fd9afa19",
    	"error":
    	{
    		"message": "An error has occurred. Write failed for table row of type 'XX'. Infolog: Warning: The value '10646' in field 'Vendor account' is not found in the related table 'Vendors'.; Warning: validateField failed on field 'XX.VendorAccount'."
    	},
    	"source": "XXXXXXX.sandbox.operations.dynamics.com",
    	"errors": []
    }

    I also moved your question from the AX forum to the Dynamics 365 Finance forum.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Vidya,

    This means that the value '10646' is not present in the table for Vendors. What data is being written using this custom entity?

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 405 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 322 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans