I have a data loading process that uses both the WordPress and WooCommerce API’s to load both product data and images to both a Staging and Live store. Both stores have a Rest API setup with the same user credentials on both stores. When the process runs, it successfully loads both products and images to the Staging store. When the process run for the Live store, it is able to load products, but when it tries to use the WordPress API to load images, it fails and the error message is that the user ID and password are missing.
Both stores are configured identically, with only two differences. The Live store is connected to CloudFlare and uses a Cloudflare SSL cert. The staging store is not connected to Cloudflare and the SSL cert comes from the Cloudways interface with “Let’s Encrypt”. I have whitelisted the data process servers on both the server and MySQL, as well as on Cloudflare. I have configured the server WAF setting on Cloudways for Cloudflare.
With all of this, it appears that something is blocking the data process from loading the Rest API credentials and logging in to allow images to load via the WordPress API.