microsoft/PowerApps-Samples

A record with matching key values already exists.

mkalinovTC opened this issue · 1 comments

Hi guys,
We try to utilize Service CreateRetrieve to create and get back a custom entity. Entity has a lookup field to account.
We tried to add EntityRefrence to record but got back "Property 'id' wasn't found in account entity". We have created object(see screenshot) to add lookup reference:
image
The schema validation works fine now, but now we get: PowerApps.Samples.ServiceException: A record with matching key values already exists.

Sounds like it tries to create account instead association.
Entity created fine without lookup field

Could u point us to an example of proper usage of CreateRetrieve WITH lookups assignments, Existing ones lacks that.

Thanks in advance.

We figured it out, thanks