• Resolved ___ripa___

    (@ripa01)


    I am integrating my business software with woocommerce, i’m using Woocommerce official api. Now I’ve an issue when I import images from a specific website (for most of other website it works).

    {‘code’: ‘woocommerce_product_image_upload_error’, ‘message’: “Errore nell’acquisizione dell’immagine remota … Errore: cURL error 60: SSL certificate problem: unable to get local issuer certificate”, ‘data’: {‘status’: 400}}

    I think there is a way to avoid it.
    I tried downloading the same image in request library where you can set the verify parameters to False and it works, otherwise the same error.

    There is some params in wc api that could help me?

    • This topic was modified 3 years, 6 months ago by ___ripa___.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Sol J. a11n

    (@solstudioim)

    Hi there @ripa01

    It appears that the SSL certificate of the site, you’re trying to get the data from, could not be verified

    Most likely you will need to contact the host of the site to resolve the issue. Here is a similar issue being discussed and how to resolve it.

    I believe that gives you the right direction!

    If you have any other questions, do not hesitate to let us know!

    Thread Starter ___ripa___

    (@ripa01)

    Alternatively i could download images in local, but there is a way to upload them directly via wc api?

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @ripa01

    Alternatively i could download images in local, but there is a way to upload them directly via wc api?

    As far as I am aware the images should online accessible through the Internet if you want to upload them, so local images, I am not sure if that will work.

    Please refer to our API documentation.

    I hope that helps!

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions!

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import images via wc api ssl certificate problem’ is closed to new replies.