Skip to main content

Notifications

Announcements

No record found.

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 . 

  • zhifeng Profile Picture
    on at
    RE: "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 fi

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

  • Martin Dráb Profile Picture
    233,029 Most Valuable Professional on at
    RE: "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 fi

    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,421 on at
    RE: "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 fi

    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

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,349 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,029 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans