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

Validate error request when using pdf operations

New Here ,
Sep 18, 2024 Sep 18, 2024

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.pngexpand image

 

 
please help me 😞
TOPICS
PDF Services API , REST APIs
666
Translate
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

Does the variable ASSETSID resolve? Did you mean ASSETID?

Translate
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

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

 

heirowin_5293_0-1726708509669.pngexpand image
these is my product & services

heirowin_5293_1-1726708699989.pngexpand image

 

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

 

Translate
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

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.

Translate
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

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?

Translate
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

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.pngexpand image

 

Translate
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

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. 

Translate
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
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

Translate
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