It looks like the activity has been imported into garmin connect from an external source. Such activities might not count for badges. What device did you use to record the activity and how did you get the activity into garmin connect?
Oh, that’s a bummer. My watch went flat at 200km mark so I had to record via strava on my mobile. I then merged the rides in strava to be one and imported to Garmin to replace the 200km one that was there.