web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard