While uploading file bigger than 5 mb, getting error : code 41 : Invalid Credential
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 02:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 12:35 AM
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
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader