Replies: 0
I have an image URL that has a period at the end of the URL, and when I use this URL when creating a product using the rest api, error shows up with code “woocommerce_product_image_upload_error” and message “Invalid image: Sorry, this file type is not permitted for security reasons.”
My assumption is that the api reads my image as .jpg. instead of .jpg, and that might be the cause of this.
Can anyone help me to solve this?
Million thanks