cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Invalid Code

Darshan_Borad
Mt. Kenya

After the using "https://www.strava.com/api/v3/oauth/authorize" api i got the new code and everytime getting error 
Error: {
message: 'Authorization Error',
errors: [ { resource: 'Application', field: '', code: 'invalid' } ]
}

1 REPLY 1

Darshan_Borad
Mt. Kenya

I'm using this format "

`https://www.strava.com/api/v3/oauth/authorize?client_id=${req.body.client_id}&redirect_uri=${process.env.BASE_URL}/success-login?cred=${cred}&response_type=code&scope=read_all,profile:read_all,activity:read_all,read`;

"