Title: WOOCOMMERCE 3.7 REST API ERROR CREATE PRODUCT
Last modified: March 27, 2021

---

# WOOCOMMERCE 3.7 REST API ERROR CREATE PRODUCT

 *  Resolved [orlandox](https://wordpress.org/support/users/orlandox/)
 * (@orlandox)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/woo-api-rest-error-create-product/)
 * 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&#8221](https://iwsportaldvlp.intcomex.com/images/1373523601&#8221);}],
 * -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 5 years, 3 months ago by [orlandox](https://wordpress.org/support/users/orlandox/).
    -  This topic was modified 5 years, 3 months ago by [orlandox](https://wordpress.org/support/users/orlandox/).
    -  This topic was modified 5 years, 3 months ago by [orlandox](https://wordpress.org/support/users/orlandox/).
    -  This topic was modified 5 years, 3 months ago by [orlandox](https://wordpress.org/support/users/orlandox/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/woo-api-rest-error-create-product/#post-14245506)
 * Hello [@orlandox](https://wordpress.org/support/users/orlandox/) ,
 * It looks like this thread is closely related to the previous thread – [https://wordpress.org/support/topic/woocommerce-400-bad-request-2/](https://wordpress.org/support/topic/woocommerce-400-bad-request-2/)
 * Please follow the update on the previous thread. This will help us keep the forum
   clean from duplicate discussions. I am keeping this thread open for now, if someone
   else does not join here, I will mark this thread resolved.
 * Thank you 🙂
 *  Thread Starter [orlandox](https://wordpress.org/support/users/orlandox/)
 * (@orlandox)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/woo-api-rest-error-create-product/#post-14246295)
 * hi [@rur165](https://wordpress.org/support/users/rur165/) , is correct, it is
   related to this thread [https://wordpress.org/support/topic/woocommerce-400-bad-request-2/](https://wordpress.org/support/topic/woocommerce-400-bad-request-2/)
   and it has not yet worked, it happens that I have a great hurry to solve it but
   I do not get answers even with the same problem.
 * I thought that by opening a thread with more details of the problem I could have
   more option to find the solution.
 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/woo-api-rest-error-create-product/#post-14250655)
 * Hello [@orlandox](https://wordpress.org/support/users/orlandox/) ,
 * I understand the urgency of the matter. However, according to the [forum guidelines](https://wordpress.org/support/guidelines/),
   it is prohibited to create multiple threads with similar queries.
 * It can be even considered [spam](https://wordpress.org/support/guidelines/#do-not-spam).
   I am keeping the post open for now, so that others can help you out.
 * Cheers 🙂
 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/woo-api-rest-error-create-product/#post-14280007)
 * Hi there,
 * We’ve not heard back from you in a while, so I’m marking this thread as resolved.
 * Hopefully, you were able to find a solution to your problem! If you have further
   questions, please feel free to open a new topic.
 * Thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WOOCOMMERCE 3.7 REST API ERROR CREATE PRODUCT’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [error 400](https://wordpress.org/support/topic-tag/error-400/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [woocomerce](https://wordpress.org/support/topic-tag/woocomerce/)

 * 4 replies
 * 2 participants
 * Last reply from: [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/woo-api-rest-error-create-product/#post-14280007)
 * Status: resolved