Manual upload of .gpx not attaching to challenge

Hi

I uploaded a .gpx from strava. The activit is showing fine (with some editing) in my activities, but the distance isn't recording as part of a challenge i am doing?

[Other activities recorded via my watch are attaching to the challenge fine.]