Skip to main content
Participant
July 21, 2024
Answered

when get access token for lightroom API return error "access_denied"

  • July 21, 2024
  • 2 replies
  • 343 views

Hello! 

 

I get authorization_code by this request:

https://ims-na1.adobelogin.com/ims/authorize/v2?client_id=*client_id*&scope=offline_access,openid,AdobeID,lr_partner_rendition_apis,lr_partner_apis&response_type=code

 

After i try to get token:

> POST https://ims-na1.adobelogin.com/ims/token/v3/
> content-type: application/x-www-form-urlencoded
> Authorization: Basic base64(*client_id*:*client_secret*)
> data "authorization_code=*authorization_code*&grant_type=authorization_code"

and get error:

< 400 Bad Request

{
  "error": "access_denied"
}

 

It's not incorrect auth, becouse when i send incorrect client_id/client_secret, i get error

{
  "error": "unauthorized",
  "error_description": "invalid client_secret parameter"
}

 

I can't find any information about this error. Please help how to get access token.

This topic has been closed for replies.
Correct answer Rikk Flohr_Photography

The documentation should be updated shortly. 

2 replies

Rikk Flohr_Photography
Community Manager
July 25, 2024

The documentation should be updated shortly. 

Rikk Flohr: Adobe Photography Org