Skip to main content
Nintex Community Menu Bar
Solved

Docgen Error due to rich text field

  • April 9, 2019
  • 13 replies
  • 199 views

I am getting an data invalid error due to my rich text field for some records and few records are working fine whenever I am running my docgen package through docgen button present in object layout. But all the records are working fine whenever I am testing the docgen package through button present on the docgen package layout

Best answer by Nav185

@DavidStephen  its working for now after adding session id thanks David.

13 replies

  • Nintex Employee
  • April 9, 2019

Are both buttons passing the session ID?

 

Such as...

 

Button or Link URL

/apex/loop__looplus?eid={!Opportunity.Id}&accountId={!Opportunity.AccountId}&sessionId={!$Api.Session_ID}

 

I am asuming this is being run in Salesforce Classic?

 

 


  • Author
  • April 9, 2019

No I'm not using session ID here. Yeah its in Salesforce classic.


  • Nintex Employee
  • April 9, 2019

To test is it possible to add that perameter and see if it works?


  • Author
  • April 9, 2019

Do you want me to add session id and check if it's working?


  • Nintex Employee
  • April 9, 2019

Yes please. I have a feeling that may be the culprit.

 

Let me know if this does the trick.


  • Author
  • April 9, 2019

Sure I'll try and let you know


  • Nintex Employee
  • April 10, 2019

Did this do the trick? If so please post this as correct or answered.

 

 


DocGenVinnie
Nintex Employee
Forum|alt.badge.img+7
  • Nintex Employee
  • April 10, 2019

@Nav185  I would recommend you open a case with support and we could help determine the cause of the error.   You should be able to open directly in the Customer Central.


  • Author
  • April 11, 2019
Yeah I haven't tried it but I'll update you if this works

  • Author
  • April 11, 2019
@DocGenVinnie okay thanks I'll do that if nothing works

  • Author
  • Answer
  • April 12, 2019

@DavidStephen  its working for now after adding session id thanks David.


  • Author
  • April 12, 2019

@DocGenVinnie  it's working after adding session id if we get this error in future we'll raise an issue thanks 


  • February 12, 2022

Hi David,

 

I have created button with link refering to packageid(Object: Opportunity), where in package, there is form field(list View) , button is working fine for 2 picklist value, ppt is getting downloaded, but one value it is showing up error.

below i got this error , Tender_Monthly_News_Update is custom field(rich Text field(5000) , but records fetching in query has more than 25000 characters for the above field.

 

An error occurred filling the following tag :

File Name: Monthly Sales Report_Tender_Activity Group_Test v9
Tag: Tenders_Must_Win_Tender_Monthly_News_Update
Value: <p><b>202105</b></p><p>At the end of April 2021, we submitted the formal commercial offer including TI and preliminary LCC-calculations.</p><p><br></p><p><b>202104</b></p><p>The tender process is still on hold because the Court has not yet taken a decision on the law suit regarding transfer of staff. Until then the operation of the network cannot be awarded.</p><p><br></p><p><img src="https://faiveley--onetransit--c.documentforce.com/servlet/rtaImage?eid=0060D000008YcW0&amp;feoid=00N0D0000017w2i[...]
(DataInvalid)
Include this Error Id if you contact support: 6d898fbf-7dd6-4736-995b-27b1f0c8530c

 

 

Can you please suggest on this.

 

Thanks,

Sam