Giter Club home page Giter Club logo

Comments (4)

xy-peng avatar xy-peng commented on July 21, 2024

你看下服务器返回的错误码和错误信息?

from wechatpay-apache-httpclient.

zzmloveddm avatar zzmloveddm commented on July 21, 2024

你看下服务器返回的错误码和错误信息?

应答的状态码不为200-299。status code[400] request headers[[Accept: application/json; charset=UTF-8, Authorization: WECHATPAY2-SHA256-RSA2048 mchid="我的appId",nonce_str="xOWyRfSwKYc63dPWQjxntu9ASfdEjJDy",timestamp="1676433245",serial_no="我的证书序列号",signature="nz0UdFsD0pRw5g4/kYnB0sCvdky8mmG+ZvrerZ68Wj8NTmFNZ2bDebmGneUQtu6Mvdeif1dOpBkzM+DpGra6cbkhQnEO1zSZRtIuo1wbLp9lo/oSIwDQXf5h81YDyvmSTDJ7x5qwI1YbTVVALLu4vDjILkEoNjNTHQfGEYbBeJey39DBuS/5hgIHDCDvESa6tofaX+Ox1onqmQgcqrG6+nvm6B1t1VGH5zA62Q4JiAbQ4gU6z7X108WEoETbuOkjIWDYUZ78bXkxvEEgqCWCV51DrybZ9QLxRRlWokK9dk8pNnnI8vA4Xa9CwtLoGyu07Co8p8NElN1P1uQshniUdg==", Transfer-Encoding: chunked, Content-Type: multipart/form-data; boundary=tZYqbmWlPGw2UR6hFQMjgSvraLAaDBKhEy, Host: api.mch.weixin.qq.com, Connection: Keep-Alive, User-Agent: WechatPay-Apache-HttpClient/0.4.9 (Windows 10/10.0) Java/1.8.0_152, Accept-Encoding: gzip,deflate]]

from wechatpay-apache-httpclient.

xy-peng avatar xy-peng commented on July 21, 2024

400只是状态码。你需要把应答流收回来,输出 body,看到错误码和错误信息。它们可以用来定位问题。

from wechatpay-apache-httpclient.

zzmloveddm avatar zzmloveddm commented on July 21, 2024

400只是状态码。你需要把应答流收回来,输出 body,看到错误码和错误信息。它们可以用来定位问题。

好的谢谢

from wechatpay-apache-httpclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.