The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
11-11-2023 10:34 AM
In addition to my question below I am also unable to use the dev playground when copying my correct client id and client secret. I have seen another with this issue, is it my side or strava's?
Thanks
11-12-2023 08:04 AM
Thank you for your reply. ihave now tried this and in the playground I now get further. It redirects me to agree to the permissions I click that I agree and then it redirects me back to swagger playground where I get a 401 error. Do you know how I can fix this?
Thanks again
11-12-2023 09:22 AM
Could you please share a screenshot of the error? thank you
11-12-2023 12:45 PM
11-12-2023 02:00 PM
Ok so code 401 means unauthorized. When you select the scopes, you need to make sure that you select the ones that interests you, such as read_all if you want to want only reading rights
After you enter these details the window should look something like this
If you don't select the right scopes, you wont be able to call specific endpoints of the api, such as create activity in this case
11-13-2023 11:19 PM
I did that the error is the response to me filling in my client id and client secret and clicking the activitity read_all button. I get redirected to the strava pag and check the button and press authorise and it send me back to this error. I haven't requested anything yet other than authorization and my token
11-13-2023 11:32 PM
Actually it has begun to work now, is there a delay between when strava gives you API access and when your client secret works to generate tokens?
11-14-2023 10:56 AM
There are some issues i think with this authorization, that’s why I suggested in the beginning to use incognito. Anyway, I’m glad it works
11-12-2023 03:53 AM
Hello, try adding these in the Edit Application window. Also try to switch to an icognito window and test there.
Welcome to the Community - here is your guide to help you get started!