致命错误:未完成的EasyPost\错误:无法完成货件购买。请与support@easypost.com联系。在/home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/EasyPost/lib/EasyPost/Requestor.php:268堆栈跟踪中:#0 /home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/EasyPost/lib/EasyPost/Requestor.php(252):EasyPost\Requestor->handleApiError(‘{“error”:{“code…’,422,Array) #1 /home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/EasyPost/lib/EasyPost/Requestor.php(123):EasyPost\Requestor->interpretResponse(‘{“error”:{“code…’#2 /home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/EasyPost/lib/EasyPost/Shipment.php(116):EasyPost\Requestor->请求(“post”,“/#en0#/shp…”)(列阵) #3 /home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/label.php(46):易后装船->购买(列阵) #4 /home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/woo在/home/adminofferzone/offerzoneusa.com/wp-content/plugins/woo-ship-labels-master/EasyPost/lib/EasyPost/Requestor.php网上268号
我是如何解决这个问题的,我增加了插件和运输标签生成器插件的交易,在easypost中安装了所有东西
发布于 2017-10-02 17:04:31
在发生客户端或服务器错误时,响应将分别包含标准的4xx或5xx,并附有描述问题的格式良好的JSON主体(例如,省略了所需的字段,购买失败等)。
每个客户端库将封装这些错误并引发异常,此外还会引发其他异常情况,例如网络故障。建议优雅地处理异常并向support@easypost.com报告任何问题。
https://stackoverflow.com/questions/46530120
复制相似问题