Open 17612850365 opened 3 months ago
您好开发者, 我们已收到你的问题, 已通知开发团队进行处理! 如您未阅读我们的开发文档,可先参阅开发文档 小红书问题处置流程 :sparkles: 感谢您的提问!:sparkles:
哈喽,从数据来看是没有问题的,建议使用postman直接发起请求试试,参见文档https://miniapp.xiaohongshu.com/docs?path=/docs/api-backend/post-api-rmp-mp-deal-order-after_sales_order-add 数据如下: { "out_order_id": "20240807224955199692", "out_after_sales_order_id": "20240808214657258055", "open_id": "4ffed8e5e0888eaedd60dc31bc6cebae6049f717b76c55c1316d7aed7defb1a2", "type": 1, "biz_create_time": 1723124817, "price_info": { "refund_price": 100 }, "product_infos": [ { "out_product_id": "GZ52", "out_sku_id": "GZ52_CATE_0031572520100457", "num": 1, "price": 100 } ], "refund_book_detail": { "book_id": "Peb738594195589381651", "refund_price": 100 }, "product_type": 3, "auto_confirm": true }
你好,postman请求也不行呢
你好,请问解决了吗?遇到同样问题
Issue类型
bug
问题模块
小程序服务(服务后台)
所属的服务商
自有团队
平台
IOS, Android
小红书版本信息
8.33
基础库版本
v3.93.1
用户ID
发生问题的时间
2024-08-08 22:02:19 至 2024-08-08 22:02:19
问题描述
售后申请报错htto请求格式错误或不支持- code:-9012 售后申请报错htto请求格式错误或不支持- code:-9012 请求内容: { status: 200, statusText: 'OK', headers: AxiosHeaders { date: 'Thu, 08 Aug 2024 13:46:57 GMT', 'content-type': 'application/json;charset=UTF-8', 'transfer-encoding': 'chunked', connection: 'close', server: 'nginx', 'set-cookie': [ 'acw_tc=32f7f7a45ca7db332f8493462e4619eff94097baa56727d19859aee326fbda;path=/;HttpOnly;Max-Age=1800' ], 'cat-msg-id': 'openapiminiapp-gateway-default-ac190416.0025863-478645-92069' }, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: AxiosHeaders { Accept: 'application/json, text/plain, /', 'Content-Type': 'application/json', 'User-Agent': 'axios/1.4.0', 'Content-Length': '457', 'Accept-Encoding': 'gzip, compress, deflate, br' }, params: { appid: '666289a3d5c40001302521', access_token: '07020388d367caa23664c0d7aa3d1c' }, method: 'post', url: 'https://miniapp.xiaohongshu.com/api/rmp/mp/deal/order/after_sales_order/add', data: '{"out_order_id":"20240807224955199692","out_after_sales_order_id":"20240808214657258055","open_id":"4ffed8e5e0888eaedd60dc31bc6cebae6049f717b76c55c1316d7aed7defb1a2","type":1,"biz_create_time":1723124817,"price_info":{"refund_price":100},"product_infos":[{"out_product_id":"GZ52","out_sku_id":"GZ52_CATE_0031572520100457","num":1,"price":100}],"refund_book_detail":{"book_id":"Peb738594195589381651","refund_price":100},"product_type":3,"auto_confirm":true}' }, request: <ref 1> ClientRequest { _events: [Object: null prototype] { abort: [Function (anonymous)], aborted: [Function (anonymous)], connect: [Function (anonymous)], error: [Function (anonymous)], socket: [Function (anonymous)], timeout: [Function (anonymous)], finish: [Function: requestOnFinish] }, _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: '457', _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: true, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'miniapp.xiaohongshu.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 9, connecting: false, _hadError: false, _parent: null, _host: 'miniapp.xiaohongshu.com', _closeAfterHandlingError: false, _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular 1],
}, data: { error_code: -9012, error_msg: 'HTTP请求格式错误或不支持,请仔细检查请求格式,若确认无误仍存在问题,请联系工作人员', success: false } }
期望结果
提交成功,或者明确的错误信息提示
重现步骤和复现问题的最小demo Github链接
https://miniapp.xiaohongshu.com/api/rmp/mp/deal/order/after_sales_order/add