• Resolved orlandox

    (@orlandox)


    Hello, please your help with this error:

    I am using the Woo rest APi api and I am inserting new products through a process, it means that the images of the products do not exist in the media library.
    There are approximately 5000 products.

    the error that the api gives me is:

    {
    “code”: “woocommerce_product_invalid_image_id”,
    “message”: “# 7673 is an invalid image ID.”,
    “data”: {
    “status”: 400
    }
    }

    and part of the json code of entreda is

    “images”: [
    {
    “src”: “https://iwsportaldvlp.intcomex.com/images/1373523601”
    }
    ],

    -Consider that they are images without extension
    -the images are on an external server and are accessed by url
    -the wordpres version is 5.7
    -woocomer version is 4.9
    -the api version is v3

    • This topic was modified 3 years, 8 months ago by orlandox.
    • This topic was modified 3 years, 8 months ago by orlandox.
    • This topic was modified 3 years, 8 months ago by orlandox.
    • This topic was modified 3 years, 8 months ago by orlandox.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WOOCOMMERCE 3.7 REST API ERROR CREATE PRODUCT’ is closed to new replies.