Skip to main content
Participant
February 14, 2024
Question

Document Generation error : It seems there was an error on the server.

  • February 14, 2024
  • 2 replies
  • 4123 views

Hello, 

I am facing an error when generating document using the API Adobe document generation in WORD.

I haven't reach the API document limit per month as I start to use it. And you can find the document in the attachment. 

Thanks in advance for any insights!

This topic has been closed for replies.

2 replies

Raymond Camden
Community Manager
Community Manager
February 15, 2024

We recently helped a user with a similar issue and discovered it had something to do with the version of Word. Obviously all 'modern' Word versions should work, but for this user changing to a different one helped. Can you try that? We're doing investigations with that other user but this may help you now. 

 

Also, it would be slower, but you can use the DocGen playground as well: https://documentservices.adobe.com/dc-docgen-playground/index.html#/ It lets you upload custom Word + data.

Doddy_od
Participating Frequently
March 7, 2024

Thanks Raymond, I am facing the same problem, using Office 365.  I also tried https://documentservices.adobe.com/dc-docgen-playground/index.html#/ Ibut same error message.  "it seems there was an error on the server".

My JSON file is quite simple.   Here's the output from NOTEPAD.
[{"No.":1,"Name in Chinese":"周麗萍","Name in English":"Chau Lai Ping","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":2,"Name in Chinese":"崔德玉","Name in English":"Chui Tak Yuk","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":3,"Name in Chinese":"李明恩","Name in English":"Lee Ming Yan","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":4,"Name in Chinese":"練曉正","Name in English":"Lin Hiu Jing","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":5,"Name in Chinese":"袁國慧","Name in English":"Yuen Kwok Wai","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":6,"Name in Chinese":"郝嘉熙","Name in English":"Kwok Ka Hei","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":7,"Name in Chinese":"趙婉彤","Name in English":"Zhao Wantong","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":8,"Name in Chinese":"滕美竺","Name in English":"Teng Meizhu","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":9,"Name in Chinese":"滕達","Name in English":"Teng Da","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":10,"Name in Chinese":"林思璿","Name in English":"Lin Sixuan","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":11,"Name in Chinese":"張明詩","Name in English":"Cheung Ming Sze","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":12,"Name in Chinese":"黃芯雅","Name in English":"Wong Sum Nga","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":13,"Name in Chinese":"黃亦淳","Name in English":"Wong Yik Shun","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":14,"Name in Chinese":"徐彤","Name in English":"Xu Tong","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":15,"Name in Chinese":"陳煥龍","Name in English":"Chen Huanlong","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":16,"Name in Chinese":"陳瑾澤","Name in English":"Chen Jinze","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":17,"Name in Chinese":"陳新霖","Name in English":"Chen Xinlin","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":18,"Name in Chinese":"蔡詠琳","Name in English":"Choy Wing Lam","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":19,"Name in Chinese":"陳宏蕾","Name in English":"Chen Hong Lei","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":20,"Name in Chinese":"周宇辰","Name in English":"Zhou Yuchen","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":21,"Name in Chinese":"劉佩穎","Name in English":"Lau Pui Wing Aza","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":22,"Name in Chinese":"梁寶璘","Name in English":"Leung Bo Lun Sofia","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":23,"Name in Chinese":"梁寶致","Name in English":"Leung Bo Chi Clare","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":24,"Name in Chinese":"肖玉","Name in English":"Xiao Yu","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":25,"Name in Chinese":"姚先峻","Name in English":"Aaron SJ Yao","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":26,"Name in Chinese":" 樊旭","Name in English":"Fan Xu","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":27,"Name in Chinese":"馮千羽","Name in English":"Alice, Feng Qianyu","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"},{"No.":28,"Name in Chinese":"符露","Name in English":"Fu Lu","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"}]

It only works if I have one "record"  e.g.

{"No.":28,"Name in Chinese":"符露","Name in English":"Fu Lu","Date":"3rd March 2024","Event":"Marine Tour at Hoi Ha Wan"}

Any insights, or how to format the JSON correctly for the Document Generator API to work. ?

Thanks

Raymond Camden
Community Manager
Community Manager
March 7, 2024

Can you share the Word doc you used?

kglad
Community Expert
Community Expert
February 14, 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 bugs">
Raymond Camden
Community Manager
Community Manager
February 14, 2024

Um, no. I work for Adobe, on this team, and can you tell this is the right forum for that question. Now to be clear, this is *not* the same as paid technical support, but this is the right forum.

kglad
Community Expert
Community Expert
February 15, 2024

@Raymond Camden 

 

are you saying, the adobe services api (the destination i chose to move this message) is the correct forum, or using the community (the origin of this post) is the correct forum?