Re: Dynamic 365 Application to save contact
The code is obscured. Please post it in your next reply.
I assume it's a Patch() and you're specifying the Defaults() parameter, so it should interpret that function block as an insert. However, without seeing all of the code, it's hard to tell what else might be causing the error.
Additionally, when this happens, the entire function block may be underlined in red but the offending column (if known) is highlighted in a thicker/bolder red. This can help identify if you have a column that it doesn't like.
For example, this may be creating a Contact but also referencing the Contact (or another yet to be created Contact in another field), and causing the issue.