Jump to content

API Webservice upload product image error 66


FloppyDisk

Recommended Posts

Hello! 

I need your help. I am trying to upload an image via the REST API. I am searching the internet for a solution but every forum entry with this topic has no answer. 

Can anyone tell me how the xml structure should look like for uploading an image with base64 encoding? 

like: 

<prestashop>

<image>

<content encode="base64">here the base64 string</content>

</image>

</prestashop>

 

the reply is always the error 66 and "cannot save image". On the ftp the file permissions are set to 727.

I am glad for any kind of help!!!

thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...