HOW to Send CSV file from third party to servicenow

Obito
Tera Expert

Hi all, 

I am sending csv file from POSTMAN app to the servicenow instance and attaching it to the newly created request record, I am sending file into base64 encoded format and decoding it while receiving at the servicenow (staging table) But after decoding csv file gets converted into text and data gets missing. What should be the possible solution for this.

 

Thank you. 

1 REPLY 1

Tony Chatfield1
Kilo Patron

Hi, your post indicates that you are pushing payloads into a temp\import table and then converting the records to attachments? Can you share the code used to create the attachment fiels from teh base64 payload?
Have you checked and confirmed that the field the base64 data/file body is pushed into is large enough and is not truncating your base64 content?