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

Validate error request when using pdf operations

New Here ,
Sep 18, 2024 Sep 18, 2024

Copy link to clipboard

Copied

Hi, im getting error when using the pdf operations (document generations, createpdf,extractpdf) I'm getting this error

{
    "reason": "Validation error Request id: d2vhiGMagS744w1phjdoUabqcvThHFW6.",
    "message": "Bad Request"
}
 
heirowin_5293_0-1726654525845.png

 

 
please help me 😞
TOPICS
PDF Services API , REST APIs

Views

340

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 ,
Sep 18, 2024 Sep 18, 2024

Copy link to clipboard

Copied

Does the variable ASSETSID resolve? Did you mean ASSETID?

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
New Here ,
Sep 18, 2024 Sep 18, 2024

Copy link to clipboard

Copied

Hi @Raymond Camden , I've change the variable to the value itself, and here's my new result, 

 

heirowin_5293_0-1726708509669.png
these is my product & services

heirowin_5293_1-1726708699989.png

 

is there is need to authorize to do the document generation?

 

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
Adobe Employee ,
Sep 19, 2024 Sep 19, 2024

Copy link to clipboard

Copied

I'd say check and ensure the authorization values are being passed correctly. If you can get an access token, upload a document, then your credentials are good. Maybe run them again if you tested with just this last step today.

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
New Here ,
Sep 19, 2024 Sep 19, 2024

Copy link to clipboard

Copied

I've rerun the cycle from getting the token, then uploading the assets, then checking the assets metadata, when creating the jobs or document generation, the error is "code": "UNAUTHORIZED", is there I need to do with my console to authorize it?

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
New Here ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

just an update @Raymond Camden , I cleaned the process once again, then, I successfully returned ng 201 created status on documentgeneration and createpdf, but I don't know where the file was created. 

heirowin_5293_0-1726817832905.png

 

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
New Here ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

Update again, i just found the file, but I don't think whats wrong, when I get the downloadUri that returned from get-status, the documents generated was the same as the one that I uploaded from the assets. please help me to understand the process. 

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
New Here ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

LATEST

Update again, I see the problem, the object that I used on the documents was not correct—already getting the result that I want. thank you very much for your response on my problem

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