Notifications
Announcements
No record found.
Why am I getting this error when trying to insert data into the LoansRequests table using the LoansRequestsEntity in D365 FO?
LoansRequests
LoansRequestsEntity
LoansRequests failed: { "@odata.context": "https://XXXXX.sandbox.operations.eu.dynamics.com/data/$metadata#Edm.String", "value": "Write returned RecId 0 for table row of type 'LoansRequestsEntity'. Infolog: .\r\n" }
I’m sending the row from PowerApps using the OData entity. I have already checked all the mandatory fields and made sure they are included in the request.
It seems like the entity is not writing the record properly, and the returned RecId is 0. What could be the reason behind this, and how can I fix it?
Thank you for your response.
I’m attaching the index details of my custom table as requested.
Regarding the "Missing datasource property of staging table" — I’m not entirely sure what you mean. If you could clarify that point, it would be helpful.
As for the mandatory fields, I’ve verified that I’m sending all of them to the entity. None are missing.
Also, I’ve tested inserting data manually using the Table Browser Form in my development environment, and it works fine — no errors, and the data is saved correctly.
One more thing to note: I have another custom table with a very similar structure and fields, and it works perfectly with its data entity when inserting data from Power Apps.
Thanks again, Mohammed Afeef
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 467 Super User 2025 Season 2
Martin Dráb 420 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional