error external image via rest api
-
Hello,
I get following error when i create product via rest api.
Automattic\WooCommerce\HttpClient\HttpClientException : Error: Fout tijdens het verkrijgen van externe afbeelding https://images.wehkamp.nl/i/wehkamp/16201949_pb_01.jpg?w=500&h=500. Fout: Forbidden [woocommerce_product_image_upload_error]I already tried to remove: ?w=500&h=500 with no luck.
I also tried via http url instead of https, also with no luck.I can add other products with images with no problems.
i use: https://packagist.org/packages/automattic/woocommerce version 3.0.0.
Woocommerce: 3.7.0
Wordpress: 5.2.2$woocommerce = new Client( 'https://XXX.com', 'ck_XXX', 'cs_XXX', [ 'wp_api' => true, 'version' => 'wc/v3', 'query_string_auth' => true 'timeout' => 120, 'verify_ssl' => false ] );What can be the problem?
kind regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘error external image via rest api’ is closed to new replies.