Q&A

Got 403 Forbidden for https://api.line.me/v2/profile

Pre condition, Condition to reproduce

I request access token with following request body. I also add scope as 'profile' for user profile inquiry

curl --location --request POST 'https://api.line.me/v2/oauth/accessToken' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=xxx' \
--data-urlencode 'client_secret=xxx' \
--data-urlencode 'scope=profile'

Issue/ Error Message details

I use the request token to call https://api.line.me/v2/profile but I got 403 Forbidden

{
    "message": "Access Denied"
}

Any idea for this issue please. Thank you so much:)

  • 0
  • 0
  • 1089
  • twitter facebook
Are you sure? question.vm