Forum Discussion
richie
Community Hero
Hey shadab1312,
That xmlprolog error's like a catch all xml parser error....really not helpful when trying to diagnose what went wrong.
I suspect that the base64 encode value is larger than what is accepted by the defaults in readyapi.
The way to prove this would be if you submit your request with a base64 encoded value that is a lot smaller than what you tried. I appreciate your endpoint might be expecting a certain length value so youll probably get a 400 or 422 or some other client error if you submitted a base64 value a lot smaller than what you need, but try it.....this will prove if the issue is because the base64 encode value is too large.
Might help if you can you post your headers on the request and response please?
Im on my phone at the moment, but i remember theres a setting in the preferences for chunking/payload size. Id tweak those settings to try and fix this if i were you.
Nice one,
Rich
That xmlprolog error's like a catch all xml parser error....really not helpful when trying to diagnose what went wrong.
I suspect that the base64 encode value is larger than what is accepted by the defaults in readyapi.
The way to prove this would be if you submit your request with a base64 encoded value that is a lot smaller than what you tried. I appreciate your endpoint might be expecting a certain length value so youll probably get a 400 or 422 or some other client error if you submitted a base64 value a lot smaller than what you need, but try it.....this will prove if the issue is because the base64 encode value is too large.
Might help if you can you post your headers on the request and response please?
Im on my phone at the moment, but i remember theres a setting in the preferences for chunking/payload size. Id tweak those settings to try and fix this if i were you.
Nice one,
Rich
shadab1312
4 years agoNew Contributor
Hi Richie,
Thanks for your response.
As you suggested I tried below things:
1. Sent request with much smaller content with a base64 encoded value. => Result: Still the POST request data is getting truncated.
2. Changed Preferences settings (see screenshot attached). => Result: Still the POST request data is getting truncated.
Is there any other setting in Ready API that could have impact?
Also, I have attached the screenshot of headers.
Regards,
Shadab
Related Content
- 4 years ago
Recent Discussions
- 6 days ago
- 11 days ago