cancel
Showing results for 
Search instead for 
Did you mean: 

Gateway - upload excel/.doc files - error

Former Member
0 Kudos

Hi,

We are trying to upload excel/.doc files through gateway.

We get an error on gateway client :

"An invalid character was found in text content"

All other file types can be uploaded with create_Stream method.

Any inputs on the possible causes for same?

Meghna

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184739
Contributor
0 Kudos

Hi Megna,

Did your file name has foreign characters ? Please give more details about file name , file content ( to check if the file is corrupted with invalid and junk characters/boxes/slashes).

Regards

Prabaharan Asokan

Former Member
0 Kudos

Hi Prabhakaran,

I have tried testing with file containing very basic data.

No symbols or foreign character.

It doesn't work for Word and excel files.

Regards,

Meghna

former_member184739
Contributor
0 Kudos

Hi Meghna,

Thanks for the details. Did you try passing below http headers while making AJAX call.

Former Member
0 Kudos

Hi Prabhakaran,

Am testing from gateway client. So the ajax call doesnt come into picture.

regards,
Meghna

former_member184739
Contributor
0 Kudos

Hi Meghna,

Did you get a chance to add this header from Gateway client before sending the request.

Regards

Prabaharan Asokan

former_member184739
Contributor
0 Kudos

Hi Meghna,

Any luck ?

Former Member
0 Kudos

Hi ,

Its still not working.

We are getting the same issue.

former_member184867
Active Contributor
0 Kudos

Are you also passing the file length to the gateway? And where do you get the error - From the Gateway Layer or when you put the file from Gateway to the DB/file repo?