收藏
回答

添加商品API,报错【图片url非法】?

接口返回:rid: 6122f97d-141534b8-4dd31761

使用微信上传图片接口返回的临时图片路径后,还是报图片url非法

回答关注问题邀请回答
收藏

1 个回答

  • 郭海
    郭海
    2021-09-01

    你好,后台查到这个请求是8.23发起的,之前这个接口会有些问题,最近已经fix了,请问最近还有此类问题发生吗,有的话请提供给相关rid

    2021-09-01
    有用
    回复 5
    • 十年
      十年
      2021-09-01
      rid: 612ef73d-4d322ee0-5a09f4ce'
      2021-09-01
      回复
    • 郭海
      郭海
      2021-09-01回复十年
      请提供一下完整的请求body
      2021-09-01
      回复
    • 十年
      十年
      2021-09-01
      ^ "{"product_id":607175948328,"title":"手工端砚小砚台便携书法专用钟键宽圆形石肉坑仔岩小楷抄心经火锅砚台肇庆原石天然用实素砚特价","head_img":["https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxx8ibXTs9Jx2tiaibBsnvr1MhNDjPWrVTXxic8ZSUNicxzRvBv4wSYVBh6k3vG2NuCKyuqw?token=x5Y29zUxcibBZaXWGb34cyC1mXqZZlUPyPM9tic4AygU33q1wOFLT2KR0KgD8U1ibYw&idx=1&expire=1630738247","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx3sOpEdyg0ibFwDEvvLnUaQhTfiabYWUY93gcSb3UGt0R94iarOE2YHt6TSN5ecyCK9HA?token=x5Y29zUxcibBZaXWGb34cyC1mXqZZlUPyoKuBEQ8IgSrSQWchATB7IMBhoZbMTdWJ&idx=1&expire=1630738247","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx1z94y0Sbt9lAs3blN8QetGFndFiaTjusmvLJp6CaeQJXibx7fqGJFMPBk1mATkdhgjg?token=x5Y29zUxcibBZaXWGb34cyFczXEN35zCMEc5ib2hibAfISG0ibCYdgpOAY2Mo6JaFSTia&idx=1&expire=1630738248","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx3QPbVBf9icw22tsVlzOh7C7uY1PDOGZslm0ibdZH47BGF1WCWV0MFcuDN8tytV3xMicw?token=x5Y29zUxcibBZaXWGb34cyAzcTC88nSFXOjNqyxPNJT8XIibnDlWE7PeZjNEdHDtEL&idx=1&expire=1630738249","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxic27DnWGeq2ibfE2Byy19jydO79RFMSpqYDQRO8kDrV3dUHq3oe4NqLFicib5zmSU6N3w?token=x5Y29zUxcibBZaXWGb34cyAzcTC88nSFXhM2f2tRGREM1ia7rQbXibEicmw0Yf5IoaYJ&idx=1&expire=1630738249"],"desc_info":{"imgs":["https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxwrJ6IAzTESIVzPN8g9rI8TVzSiax0VoEMth6W0O6snK83Glu5HKgIneRVs8ibvpGTkQ?token=x5Y29zUxcibBZaXWGb34cyDVtKmicjAibaVBPicJOx2f8qPlLk0HicKJj3mPqNBKDrzph&idx=1&expire=1630738250","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxib7BfLB5FJAfYmAiaRMdIULIEvicAO0234NLXtIjib3bDytzl3Jichgb1pq1GmA8xRHp6g?token=x5Y29zUxcibBZaXWGb34cyDVtKmicjAibaVWF1RcKejMv8VHWhPEaN0NOzNKvSTmSh1&idx=1&expire=1630738250","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx6HfUjmBicvgoqib80Vw0rpSOR5ibh2h2iaEAgiaQpokbzZYicjw9e1lG1z1D8fUsdVKwMMw?token=x5Y29zUxcibBZaXWGb34cyDVtKmicjAibaV3Eviahhz1a0JrncqMeyuJ0G1dQxOHlWcib&idx=1&expire=1630738250","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxxWhknnR3yAic9gq0Stic75KfxlibtDlpUOCFHyKvu8iaRuQcmjBfQIW1FiawFSYuKKiaxvQ?token=x5Y29zUxcibBZaXWGb34cyKKVrGw5mD1icRCYicuoqcQvKFtUpk9cvjCwSoqMBxO39H&idx=1&expire=1630738251","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx1PL1w2m4EBzzZibNEOJQfAdqwibQibJ43ELE9OibepLeLtDRyyINY0MOyicyZNqZHAFypw?token=x5Y29zUxcibBZaXWGb34cyKKVrGw5mD1icrL8q97Mopg5CzBib0yDKvyEsymPaVSzat&idx=1&expire=1630738251","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx2iaAQ78cRsDcdF9yomrgFiaBeFpfLPMyAicNO8QBZx8kicbXocSwTluFgCJyzxVicarcYA?token=x5Y29zUxcibBZaXWGb34cyMgPianvAKXVvk3sU8TLt3Kibme7XBdRPoUj5qtaAaCYg2&idx=1&expire=1630738252","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx3Gtp8QgPHIpooKwhf4ksJSo7qrfoGbzaHwQEgg8f44mic4I0LEdonSIqotK835cFxA?token=x5Y29zUxcibBZaXWGb34cyMgPianvAKXVvl1ZHdGibavpcVREuTCW6Klvhe65n6eL53&idx=1&expire=1630738252","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx8PkV7RR8qCzrZGw0IiaReY5U54c5An4SMKaz4dviby7B2XOQYH3PA77LbmHbjGicETGg?token=x5Y29zUxcibBZaXWGb34cyI8iaZOmq4Cd3tLapZiadpFKcMnJdnxSORQ7oG4eiaee1TF&idx=1&expire=1630738253","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxxW2dzvcolvA5blKPygfHh3K83mHQOIR1nnKGaBjcJxf7RsUdZiboftOWIzTwYCBSyg?token=x5Y29zUxcibBZaXWGb34cyI8iaZOmq4Cd33L0R82ibDiasict6WNEqYh2eMSdYNicsLmfX&idx=1&expire=1630738253","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxxymu76tK9ceNy05iaOfudxVHmic8Ej8B1KzlK9rG7VkzLEtoRPB06jiaN144lsVJTIFg?token=x5Y29zUxcibBZaXWGb34cyI8iaZOmq4Cd3eyPc8xIYQjSB2cPqDxDHZf5GVZ5qCia31&idx=1&expire=1630738253","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLx9qqDThI1t55T3BjicP45iabsZSRdmEC1Zfdsv9d7ibBgggolV3OKbznW4GDicicz9LicjVg?token=x5Y29zUxcibBZaXWGb34cyM8aGzic8VM1oJeAq1XIhVceTZbLPp6dVib97uXdGjVCWZ&idx=1&expire=1630738254","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxictEuYcragWUhX1ia3zwTWOS8gIxuDUWOwSKbJV7ozTuz8Qicic0qhfNZZ8QHJJAjSN1w?token=x5Y29zUxcibBZaXWGb34cyM8aGzic8VM1owdODvakMwIkPvX7lOwUeacodL492gTpia&idx=1&expire=1630738254","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztIFh67rN7yLxws5ib9hMy5dHSKSL2EPNjMrP3dPfaB7HZ20uOnTiadLtrOZzb0uNyJao31iaSbCv2M8w?token=x5Y29zUxcibBZaXWGb34cyEymg2OA5o8SMP1yYm26YPiagRupDHNyuqbmYpfeCGUuD&idx=1&expire=1630738255","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV8lzicbrGicqZjKworVf1JZQiaA5CwyuYAUaOuf33J3ZLN6Igw7uzxKKcVL9RyXcBkPCA?token=x5Y29zUxcibBZaXWGb34cyOQbJI9dmiblCLcJg8YLHj5p6TRS31wtDzs01tr1iahF6U&idx=1&expire=1630738256","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV0GQhOCpufb95NkPVVmDgm7rfoPrJ1OiaWvNv6ib2JzLxlcsSErejDIEiatnMC20K1SYA?token=x5Y29zUxcibBZaXWGb34cyEFQibunmXXvjtsribqtT4UY9ZrWGGaxUB9qiaDtS72x5SV&idx=1&expire=1630738257","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV5799fc5RaYaAk7nKnE0YYXEfBGxk3WBBnpE8Bx8HKw3apRoRZEjRZwUelA9dy6Rcg?token=x5Y29zUxcibBZaXWGb34cyEFQibunmXXvjic7DttJX41B8OuzgouPvU9D0J7ZOiccVNW&idx=1&expire=1630738257","https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVwYUm8nFicDy4hFlknauXOYCGR6qIjU6PlM3yaicTniaLSQvHMwdhSFnUibsm3lVI8XvHA?token=x5Y29zUxcibBZaXWGb34cyIkb2QIl3zjJIVTiaHKPaxc9FUR6XiaekG2ClZyR2C5micJ&idx=1&expire=1630738258"]},"brand_id":2100000000,"cats":[{"cat_id":"6706","level":1},{"cat_id":"6750","level":2},{"cat_id":6754,"level":3}],"attrs":[{"attr_key":true,"attr_value":true},{"attr_key":true,"attr_value":true},{"attr_key":true,"attr_value":true},{"attr_key":true,"attr_value":true},{"attr_key":true,"attr_value":true}],"express_info":{"template_id":"26841553"},"skus":[{"out_product_id":607175948328,"out_sku_id":4811601638700,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVyYrwCRqibqzUibPNG43Rg7jK4DG9ydcBCuRvMar6ec4OSFdKVQ5YYSqtb7YNrFs8aCQ?token=x5Y29zUxcibBZaXWGb34cyIkb2QIl3zjJVNMXX72LV0WJsm6ZYazicqHBZjEegoeXI&idx=1&expire=1630738258","sale_price":99900,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"麻子坑《巡山访友》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4811601638701,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV9Jtlv8ibfZXRxpYnZ9cc6VkpwPGbKprMtLwTiakTuRibmjHn6gJ075AibW14S2b8mA85Q?token=x5Y29zUxcibBZaXWGb34cyCIeRKCHAs08EN2icuWhvFuHkia12kw4Pg2OZ2P2tdwlR6&idx=1&expire=1630738259","sale_price":99900,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《连生贵子》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4811601638698,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVxc85v9Na2KhicU96DqAO1VDVUkYBIQQgJHMETicGFrcsV66fkUO2alBtbAwFdNHep7Q?token=x5Y29zUxcibBZaXWGb34cyCIeRKCHAs08tKAddku66ItTTyIHmSe0MzIwXd43KCcc&idx=1&expire=1630738259","sale_price":118800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《牛郎织女》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4811601638699,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV0H9puTuCqvBf52YFsPicTCicVVIaLw9fYn2wSwENmPYM9xt4mmiaaibT1MrFSgu2CIFEQ?token=x5Y29zUxcibBZaXWGb34cyP2daia1puibNP8DV3OHmrOIOz2au38xMlz2tBYc1icKNCl&idx=1&expire=1630738260","sale_price":118800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"麻子坑《室雅人和》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4811601638696,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV0fv2ZP2YzVibKxmlD1Z9ttI3poUAxsRWRl6pXTZ8Fh4gUdX8p36QqMVibHo4xQjnDIg?token=x5Y29zUxcibBZaXWGb34cyP2daia1puibNP7tia2pYx5qiaibd2icqtKOBDUbtrSssTbR39&idx=1&expire=1630738260","sale_price":158800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《望庐山瀑布》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4811601638697,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVibpvt0T4TFZ8gAJQyrDNAJz56ve1RQhu0GLSGAxy7tsmyPD4ftbQicYF1C0Uq7yX3Wg?token=x5Y29zUxcibBZaXWGb34cyOfDpgyHu4RuYGkDibQ0KLd7wg1GIRRlUDTdxnYH3DIj3&idx=1&expire=1630738261","sale_price":99900,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《椿萱并茂》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4811601638695,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV9UZdXiciaWYInhSnNWw1QHJoeGRkon3dZQqHx3z8J3Ds0XlpuZQZuT67lu2JPAHHEWg?token=x5Y29zUxcibBZaXWGb34cyOfDpgyHu4RuaxyEwaY1pwlAYqIDMG11ZVeHibU5iaEBGB&idx=1&expire=1630738261","sale_price":158800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《悠游自得》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4789519406091,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV92EEzE15q2Laxg63MTXEBbPlqTdallqquXR9fuSYMka2BczWy0TBibmp0bEXahmoNA?token=x5Y29zUxcibBZaXWGb34cyIINauW7GnPAWibicgdBnc6jodUWOnFe5pRZyRGTdbSHlG&idx=1&expire=1630738262","sale_price":99900,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《青山绿水》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4789519406090,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVibN4YH7aK4e0WPSh8J13hV6H35ibofM5ZCrvgLIPhoynGIgDXCibFxVDmHiclQ0X9Ieew?token=x5Y29zUxcibBZaXWGb34cyIINauW7GnPAyB4uchDTp4YTgKIKMqrgficCI4QnxQN0ia&idx=1&expire=1630738262","sale_price":99900,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《杨柳依依》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4461098524916,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV1ThUYcgNLpYb6JkckSN4sspVZtEfiaIu9BV5fdfgDIibibt0DbC03vZ9ic6AsCnlnOE0Q?token=x5Y29zUxcibBZaXWGb34cyI4BKBakK6zuXKnt2VHgm40s5SAbTnGytNqQFLrnKS2R&idx=1&expire=1630738263","sale_price":158800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"19-坑仔岩《溪山小居》+菠萝格木盒+礼盒"}]},{"out_product_id":607175948328,"out_sku_id":4789519406093,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV2Q2pBNdcsmyP8iaYwnwmVeLJLMica28zgu3uMQfxsntPB4Z6kfjFGpr5sK3WW8pkBPg?token=x5Y29zUxcibBZaXWGb34cyI4BKBakK6zuTicOxQkDD1ZFe3ZpNk02rhCbCexicHPp4Z&idx=1&expire=1630738263","sale_price":158800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"坑仔岩《才子佳人》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4789519406092,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgV38SoHTs3WeXibr3I4xyX6micfROYwZJezsrVbjnsJDOrpa5H0ib8cCpeMnlbTgR7TNxw?token=x5Y29zUxcibBZaXWGb34cyNRJ7bzuwiaKu6GRyyqmHibtOHO5yKftke841qWLQuptZI&idx=1&expire=1630738264","sale_price":158800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"麻子坑《湖光山色》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4712468226658,"thumb_img":"","sale_price":199900,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"21-坑仔岩《溪山小居》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4643039205395,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVib66Ke0Do65txkqcEQLicOkLlGmVDmMZhyTn7TojQVsGNdCn6SZOWXEhL6ZlvhyPiafw?token=x5Y29zUxcibBZaXWGb34cyHYdww0ks3HVrJd15GOBkibjjjMSAEHravzGVGMthM9o5&idx=1&expire=1630738266","sale_price":158800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"11-麻子坑《宜室宜家》+礼盒+收藏证书"}]},{"out_product_id":607175948328,"out_sku_id":4618303536729,"thumb_img":"https:\/\/store.mp.video.tencent-cloud.com\/160\/20304\/snscosdownload\/SH\/reserved\/6xykWLEnztL3AE23uZibgVibnBj1J0qnq1O0DQcOrPNqNpjEdicmicehricbNQygLykOZh4GgiaibCyTuJvNGsJyUOKfA?token=x5Y29zUxcibBZaXWGb34cyHYdww0ks3HVEor70yA9puFhqrrekY8stnZfUVs95MF7&idx=1&expire=1630738266","sale_price":118800,"market_price":0,"stock_num":100,"sku_attrs":[{"attr_key":"颜色分类","attr_value":"8-坑仔岩《溪山小居》+礼盒+收藏证书"}]}]}"
      2021-09-01
      回复
    • 郭海
      郭海
      2021-09-01回复十年
      你这个请求包里面,out_sku_id为4712468226658的sku的thumb_img字段传了空字符串,如果这个sku没有小图,请不要带这个字段,或者传null。
      2021-09-01
      1
      回复
    • 十年
      十年
      2021-09-01回复郭海
      试过了,确实是这个问题,谢谢,非常感谢
      2021-09-01
      回复
登录 后发表内容