akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
81 stars 88 forks source link

Import image attribute #586

Closed oefterdal closed 2 years ago

oefterdal commented 2 years ago

Environment and configuration

  1. Akeneo Version: CE 6.0.26 Buccaneer Bunny
  2. Akeneo Connector Extension Version | 103.0.0
  3. Magneto 2.4.4

I have an image attribute that I want to import "main_image" in Akeneo, its not scoped in anyway but the connector gives an attribute not found error.

image image

[13:37:44] Import image attributes [13:37:44] Not Found (see https://api.akeneo.com/php-client/exception.html#not-found-exception)

oefterdal commented 2 years ago

image

oefterdal commented 2 years ago

@Dnd-Gimix Do you have a clue on how to fix this?

oefterdal commented 2 years ago

Note to self, use Apache not Nginx.

jonasGossiaux commented 2 years ago

@oefterdal I'm having the same issue, how do you fix this?

oefterdal commented 2 years ago

Note to self, use Apache not Nginx.

@jonasGossiaux switched to Apache.

oefterdal commented 2 years ago

@jonasGossiaux Now I get the same issue also with Apache, I am not sure what it is.

oefterdal commented 2 years ago

I can download the images via postman

I don't think there is a issue with the Akeneo install but the connector.

oefterdal commented 2 years ago

[2022-08-24T21:49:19.043649+00:00] akeneoConnectorProductLogger.DEBUG: Info: No value found in the current batch for the attribute variant_image_4 [] []

Dnd-Gimix commented 2 years ago

@oefterdal : the error message "Not Found (see https://api.akeneo.com/php-client/exception.html#not-found-exception)" usually comes from the Akeneo API, when a media is missing inside your Akeneo instance and when you try to download it with the connector. Is there any media image missing from your Akeneo instance?

oefterdal commented 2 years ago

The hosting provider had forgot to disable Nginx so when the server rebooted it was first to start so we got the same issue as earlier that the connector gets 404 when its using the "/download" path