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 :
Power Platform Community / Forums / Power Apps / dataflow errors with a...
Power Apps
Unanswered

dataflow errors with alternate key on lookup fields

(3) ShareShare
ReportReport
Posted on by

I am having persistent problems importing data from a spreadsheet into a custom entity "ProjectlinkAccount" which has two lookup fields - one to Accounts and one to a custom entity Projects. I have an alternate key set up on each parent entity.

 

I keep getting an error message: {"error":{"code":"0x0","message":"Bad Request - Error in query syntax."}}

The query from one of the import rows looks like this:

https://nameremoved.dynamics.com/api/data/v9.1/brooks_projectlinkaccounts{\r\n  "brooks_accountname": "JohnBrook",\r\n  "brooks_legacyaccountid": "16",\r\n  "brooks_legacyid": "26",\r\n  "brooks_legacyprojectid": "19",\r\n  "brooks_name": "Main Account",\r\n  "brooks_projectname": "Great North Road",\r\n  "brooks_role": "Main Account",\r\n  "brooks_accountlu@odata.bind": "/accounts(brooks_brooksaccountid=16)",\r\n  "brooks_projectlu@odata.bind": "/brooks_projects(brooks_legacy_project_id=19)"\r\n}

 

Should the alternate key references in brackets be converted to GUIDs in the dataflow run?

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Same issue here. In my case one of the two lookup attribute values has been resolved to a concrete record GUID, while the other one remains in the OData query-by-alternate-key syntax. I can see this in the synchronization log CSV file which lists the errors occured. Did file a support ticket, but support seems not competent to help any further. 

  • OSTOLA Profile Picture
    3 on at

    Hello everyone,

    Do you resolved the issue??

    I have the same behavior...

  • bigwookie3000 Profile Picture
    33 on at

    Has anyone found a solution to this yet? 

    In my error, the following shows:

    "name@odata.bind": "name(cr4_alternate_key=Ryan"

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard