cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NuttyPistons
Frequent Visitor

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
Resolver II
Resolver II

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
Resolver II
Resolver II

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
Resolver II
Resolver II

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Kudoed Authors
Users online (99,670)