• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Unable to use API to generate images

New Here ,
Sep 12, 2024 Sep 12, 2024

Copy link to clipboard

Copied

I am able to generate a token using this code:

 

curl -X POST \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'grant_type=client_credentials&client_id=33xxx&client_secret=xxxx64yG&scope=openid,AdobeID,read_organizations'
 
(Those are not my real client_id and client_secret, but I get back a token)
 
But, then when I try to use this token, it fails with:
 
-H 'X-Api-Key: 33xxxx' \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json'
{"error_code":"403003","message":"Api Key is invalid"}

I've tried with both "Authorization: ..." and "Authorization: Bearer ..."

But, neither changes. Is there a different API key I should use?
 
Bug Unresolved
TOPICS
Imaging

Views

137

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
3 Comments
Community Expert ,
Sep 12, 2024 Sep 12, 2024

Copy link to clipboard

Copied

@chris_2734 are you an Enterprise customer that has a contract for the API? It is only available to enterprise customers.

Votes

Translate

Translate

Report

Report
New Here ,
Sep 12, 2024 Sep 12, 2024

Copy link to clipboard

Copied

Hi @Kevin Stohlmeyer no, but I'm happy to become a paying customer. Can you point me to the correct place to become an enterprise customer?

Votes

Translate

Translate

Report

Report
Community Expert ,
Sep 12, 2024 Sep 12, 2024

Copy link to clipboard

Copied

LATEST

@chris_2734 Enterprise customers have a starting enrollment of 100 users. Individuals cannot become an enterprise customer unfortunately.

Votes

Translate

Translate

Report

Report