cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NuttyPistons
Resolver I
Resolver I

Dataflow Refresh Failure - 'The required keys for table were not yet created.'

I created a simple dataflow from an Azure SQL database. I set the recurring refresh to occur every two minutes and this pushes to a new table in Dataverse.

 

For the first two runs, the refresh failed after about five minutes. On the third, it succeeded after about five minutes. The following 12 refreshes were all successful, taking approximately 45 seconds to refresh (which is more in line with my expectations, given the small amount of data in the query). After that run of successes, it started once again failing after running for five minutes. Since the run of 12 consecutive successes, I've had 20 straight failures and no more successes.

It's always the same error message: 
'Refresh failed because the required keys for cr950_job table were not yet created. If this is the first time you are seeing this error, please try refreshing dataflow again.'

 

 

NuttyPistons_0-1610141454686.png

 

NuttyPistons_1-1610141463864.png

 

NuttyPistons_2-1610141468522.png

 


Nothing has changed in the query, nor has anything changed in the Azure SQL database I'm pointing at, since I created the flow (SQL DB refreshes daily).

 

NuttyPistons_3-1610141597579.png

 

NuttyPistons_0-1610141984153.png

 

 

I'm looking for any clues or troubleshooting ideas to determine why it started failing and how I can prevent that going forward.

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Prakash4691
Solution Specialist
Solution Specialist

Hi @NuttyPistons ,

 

As per the screenshots, alternate keys has been created for two columns.

 

Can you try with one column. Duplicate record has been handled using alternate key.

 

If alternate key created for table/entity upsert request will be handled inside CDS/Microsoft Dataverse.

 

Regards,

Prakash

View solution in original post

2 REPLIES 2
Prakash4691
Solution Specialist
Solution Specialist

Hi @NuttyPistons ,

 

As per the screenshots, alternate keys has been created for two columns.

 

Can you try with one column. Duplicate record has been handled using alternate key.

 

If alternate key created for table/entity upsert request will be handled inside CDS/Microsoft Dataverse.

 

Regards,

Prakash

View solution in original post

Prakash4691
Solution Specialist
Solution Specialist

Hi @NuttyPistons ,

 

Please do check any alternate key has been created for table inside CDS/Microsoft Dataverse.

 

Included screenshot FYR.

 

alternate keyalternate key

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,310)