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

Status 401: "Unauthorized", "message": "Oauth token is not valid"

New Here ,
Jul 04, 2024 Jul 04, 2024

Copy link to clipboard

Copied

Dear All,

 

I am creating a simple single page mobile app built using SAP MDK which creates a PDF document from .docx template using merge API. However, after recieing the bearer token when I make my call to  

"response": {
                    "status": 401,
                    "statusText": "UNAUTHORIZED",
 
 "text": "{ \"error\": { \"code\": \"Unauthorized\", \"message\": \"Oauth token is not valid\", \"details\": { \"error_code\": \"401013\" } } }\n".
My Code:
geetBijlani_0-1720097041294.pnggeetBijlani_1-1720097204927.pnggeetBijlani_2-1720097279651.png

 

 
But still I get the unauthorized error. 
Note: The same credentials /token work from Postman and some other Low code no code tools like SAP BUILD Apps. 
 
Best Regards,
Geet
 

Views

34

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
Adobe Employee ,
Jul 08, 2024 Jul 08, 2024

Copy link to clipboard

Copied

LATEST

The URL  you are using to make an asset does not seem to match what we've documented here, https://developer.adobe.com/document-services/docs/apis/#tag/Assets, specifically: https://pdf-services-ue1.adobe.io/assets

Votes

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
Resources