The Zurich release has arrived! Interested in new features and functionalities? Click here for more

While uploading file bigger than 5 mb, getting error : code 41 : Invalid Credential

Intakhab Khan
Tera Contributor

Hi,

My requirement is to send daily report data in .csv to EDH team. 

For this I created Rest message in which I created 3 http methods :

Method 1 : used for generating token.

Method 2: used to generate token and also take method 1 token as a bearer token.

Method 3 : used to send file.

In response : Getting "Operational Id" (as expected) - For file below 5 mb.

 

Note : EDH is on Intranet, so for this, I used one MID-Server for all 3 http methods."

 

And also created one Script Include to call API and it's method and managing all in the background.

 

Actual Result : For record more than 5 mb, getting response - null and getting error - code-41, Invalid Credential.

                         operational Id - "null". 

                         Also getting error in ecc Queue - XML parsing error.

Expected Result : Operational Id - "xxxx-xxxx-xxx". (some value)

 

Only getting error for file's size more than 5mb, less than 5mb working fine...

 

Please suggest some solution for it....

Thanks in advance.

 

Regards,

Intakhab Khan

5 REPLIES 5

@Intakhab Khan 

check if some system property or mid server parameter should be set for handling large file

are you bringing file from that URL to instance via mid server?

check this

MID Server parameters 

MID Server Fundamentals 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader