Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote image link mal-formed #55

Open
kossanah opened this issue Dec 16, 2021 · 1 comment
Open

Remote image link mal-formed #55

kossanah opened this issue Dec 16, 2021 · 1 comment

Comments

@kossanah
Copy link

kossanah commented Dec 16, 2021

On ERPnext if the images of item is a link to external website url.
Then while making API call to WP, the ERP domain name is appended to the external image link. This result to mal-formed image link.
eg
https://woocommercedomain.com/wp-json/wc/v3/products/12307: {'code': 'woocommerce_product_image_upload_error', 'message': "Error getting remote imagehttps://erpnextdomain.comhttps://remoteimage-res.cloudinary.com/w_auto,f_auto,fl_lossy,dpr_auto,q_auto/media/catalog/product/N/T/158298_1564659190.jpg. Error: cURL error 60: SSL: no alternative certificate subject name matches target host name 'erpnextdomain.comhttps'", 'data': {'status': 400}}

@Muzzy73
Copy link

Muzzy73 commented Oct 13, 2022

Always set images directly on Woo. Dont add image to ERPNext Item Master if not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants