Not sure when this started, but I noticed that whenever my app would POST details to the /activities API endpoint, I’d get an error saying the description was invalid.
I eventually found that the cause was that I was adding my app’s domain to the end of the description (e.g. Workout by StrideOn.run). Removing the .run portion fixed the issue.
This has previously worked for years, so it might be related to Strava’s recent updates regarding links.
Even if you’re not specifically adding a domain name in the description, this error could happen if Strava thinks that it is or if it’s user-generated and contains what appears to be a link.