cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Resolver I
Resolver I

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

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

Resolver I
Resolver I

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Users online (17,568)