cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to File...HTTP 400 Bad Request

Former Member
0 Kudos

Hi Experts,

our sceranio is Proxy to file...when we tried to pass a message of size 137MB it is faling in PI with the Error "Error while sending by HTTP (error code: 400 , error text: Bad Request) (See attachment HTMLError for details"

My Questions

1.How much size can a proxy can handle.

2. Is this issue because of size, if yes how to divide the message into small chunks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

You can easily chunk data by looping ur proxy  and send the same to PI in multiple transactions.

>>See attachment HTMLError for details

BTW, what are the error details coming in the attachment?

Thanks

Amit Srivastava

Former Member
0 Kudos

Thanks Michal for your reply.

Amit,  can you please elaborate on looping ur proxy?

Attachment

Regards,

Mastan

Former Member
0 Kudos

Hello,

Certainly, 137 MB is quite big so what u can do is inside ur proxy class split the data rather than sending 137 MB data in a single call, one of the ways is loop ur internal table and send the data in multiple calls for instance 8 Mb of data in one call, in fact if there is no relationship between the data or sequence does not matter then u can also send the chucked data in a parallel threads

Take help of a Abaper this is a very common requirement...

Thanks

Amit Srivastava

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>2. Is this issue because of size, if yes how to divide the message into small chunks.

you can put less data in the proxy as I guess 137 MBs it not one transaction

>>>1.How much size can a proxy can handle.

depends on the config and hardware

Regards,

Michal Krawczyk