Question Details

Answered
using the new API cause an error with Token

using the new API cause

"error_description": "client_id is required.",

any ideas? on why? Thank you.

UPDATE

when I use

https://api.line.me/v2/oauth/accessToken?

version 2 works however

https://api.line.me/oauth2/v2.1/token

doesn't work and give an error.

any ideas? on why? Please help Thank you.

0
Edited: 4 months ago
Profile picture
V r T e c h

Answers

1
Profile picture
Tho (トォ)
Posted: 4 months ago
Edited: 4 months ago

Hi, I think you need to POST the grant_type, code, redirect_uri, client_id, client_secret on your request body. https://developers.line.biz/en/reference/social-api/

Are you sure? question.vm