postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

POSTMAN returns error: BAD_ENCODING

Open Wasya opened this issue 4 years ago • 7 comments

The postman's request which was workable yesterday now returns this strange not described error:

Could not send request Error: BAD_ENCODING

Nothing was changed in request and on servers part of code. Could someone say what is it? Headers and body does not contains any not latinian chars.

"Accept-Charset" in headers contains "UTF-8"

expected behavior is as usual returning responses codes 2xx - 5xx

error1

Wasya avatar Jun 26 '20 11:06 Wasya

@Wasya could you open the console and check out the error there?

vvs11 avatar Jun 26 '20 19:06 vvs11

@vvs11 Unfortunately the Log console does not shows any usable info for this case: error2

Wasya avatar Jun 29 '20 07:06 Wasya

Hi all! I found temporally solution to avid this big problem: Simply instead actual POSTMAN version 7.27.1 i've installed v. 7.22.1 and functionality returned. I think we can state that the problem was came with newest postman's update

Wasya avatar Jun 30 '20 07:06 Wasya

Having the same problem in recent versions: wrote some requests a few months ago which are now failing with "BAD_ENCODING" without any changes. Seems to affect only requests where a certificate is used. Requests with a certificate work in 7.22.1

edit: If relevant, the certificate is a .p12 PFX file with passphrase

andersnm avatar Sep 11 '20 13:09 andersnm

I had the same issue today. I setup a client certificate (PFX file) with passphrase (which works in other tools). The Console showed BAD_ENCODING. (Postman 9.13.0 used)

HendrickKay avatar Feb 14 '22 15:02 HendrickKay

I have the same issue today, setup a client certificate (PFX file) with passphrase (which works in other tools as SOAP UI). The Console showed BAD_ENCODING. (Postman v10.21.11 used)

Renesan2003 avatar Jan 08 '24 14:01 Renesan2003

We are getting this error now in version 10.24.22, any way to get additional information?

VBTXDeveloper avatar Apr 22 '24 16:04 VBTXDeveloper

I am facing same issue from last 3 years, I have mail to Postman support team, I did not get any solution.

Link: https://support.postman.com/hc/en-us/requests/197545 PCC2

I also raise question on StackOverFlow: https://stackoverflow.com/questions/78457998/getting-error-bad-encoding-in-postman-response-when-try-to-send-request-to-ap

ravikumar201807 avatar May 15 '24 19:05 ravikumar201807

Now here is a workaround who are facing this problem. They can download Postman's older version from the below link, and then it will work: Postman Download

OR

[postman-portable-win64-7.22.1-35](https://portapps.io/download/postman-portable-win64-7.22.1-35-setup.exe/)

ravikumar201807 avatar May 22 '24 06:05 ravikumar201807