Replies: 1 comment 2 replies
-
Can you try the following config? 🤔 I use this action for Strava, and this is what I have configured which works.
Based on this blog post |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm attempting to return the data from the strava api that requires authentication prior to the api call. The full .yml file can be seen here, but I have what I believe to be relevant below.
After running the workflow, the token-endpoint returns an object with access_token as a key. This is confirmed when I run the action with debug on. However, the access_token value based to the endpoint returns the following error: Error: {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]}.
However, if I take the access_token value and call the same api call locally via Postman, data is returned without error.
I'm not sure if this behavior is a Strava issue, a github action "environment" issue, or a potential bug with this github action. Any guidance is appreciated :').
Beta Was this translation helpful? Give feedback.
All reactions