Skip to main content
Question

Unable to post activity comments via API (401 Authorization Error) even with activity:write scope

  • June 4, 2026
  • 1 reply
  • 16 views

Forum|alt.badge.img+1

Hi Strava Developer Team,

I am building a personal automation workflow for my own account and need clarification on activity comment posting support.

What I am trying to do:

  • Post a comment on my own activity using:POST /api/v3/activities/{activity_id}/comments

Current behavior:

  • OAuth token refresh succeeds.
  • Access token is returned successfully.
  • Granted scope includes activity:write (and activity:read).
  • Reading activities and listing comments works.
  • Posting comment consistently fails with:401 Authorization ErrorResponse body:{"message":"Authorization Error","errors":[]}

Environment:

  • Public Strava API app
  • Single-player mode
  • OAuth 2.0 with refresh token flow
  • Request sent from both GitHub Actions runner and local machine
  • Same result when trying to create comments

Questions:

  • Is POST activity comments currently supported for public API apps?
  • If yes, are there additional requirements beyond activity:write?
  • If no, is there an official alternative for automated responses (for example update activity description via updateActivityById)?

I can provide sanitized request/response logs and timestamps if needed.

Thank you.

1 reply

Jan_Mantau
Superuser
Forum|alt.badge.img+27
  • Superuser
  • June 4, 2026

Hi ​@Vinod , you can lookup https://developers.strava.com/docs/reference/ which endpoints exist and whether they use get, post or put methods. Comments are listed as GET only and descriptions can be set when creating, uploading and updating activities.