search

Home  >  Q&A  >  body text

Programming - Error[2]: SoapClient::__doRequest() error about calling API

When I call magento’s API, I get the following error Error[2]: SoapClient::__doRequest(): 662 bytes of buffered data lost during stream conversion! I don’t know if anyone has encountered this similar problem, please provide a solution, thank you!

仅有的幸福仅有的幸福2754 days ago612

reply all(1)I'll reply

  • 黄舟

    黄舟2017-05-16 17:06:12

    It seems that no one has encountered this problem before. After my exploration, I finally solved it.

    In fact, this problem is caused by the version of PHP. The PHP version of the API server is 5.5, while the PHP version of the client is 5.2. This causes some functions to be incompatible. After testing, the client's PHP version is at least 5.3 or above.

    reply
    0
  • Cancelreply