Skip to main content
Participant
May 22, 2024
Question

Generate access tokens always returns 400: unauthorized_client

  • May 22, 2024
  • 1 reply
  • 369 views

When trying to generate a bearer token for the stock api via https://ims-na1.adobelogin.com/ims/token/v3, I always get a 400 response saying:

{"error":"unauthorized_client"}

I have checked my ID and secret multiple times. I am not able to get this to work with this command:

curl -X POST 'https://ims-na1.adobelogin.com/ims/token/v3' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'client_id=32...2d&client_secret=p8...yh&grant_type=client_credentials&scope=creative_sdk'


The project is created as an OAuth Web App. My goal is to search and download (license) images from within a private app. 

What am I doing wrong?

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    May 23, 2024

    in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

    p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



    <"moved from using the community">