workout in connect doesnt sync with edge 520

I have a problem with my Edge 520. Recently, my workouts in TrainingPeaks would automatically download to my Edge when I synced via Bluetooth from the Connect app to my Edge 520. However, for some reason, now my workout appears in Garmin Connect but doesn't sync to my Edge 520 to perform the workout.