MPAPI client is a PHP tool created to help Internet Mall, a. s. partners easily manage article catalog, deliveries, orders, etc. using Mall Marketplace API.
I'm pretty sure it'd be a big conisidence that all our product images would change at the same time and also every day.
The problem comes down to many errors of this kind:
Client error: `PUT https://mpapi.mallgroup.com/v1/products/1388?client_id=...` resulted in a `400 Bad Request` response:
{"result":{"code":400,"status":"ERROR","message":"Invalid media url, cannot be downloaded from 'https:\/\/admin.flomat.cz\/obrazky\/polozky\/9e5\/9e58d15b5dec0239943113e779ac7d83.jpg?poradi=1'"},"data":{"key":"product.media","data":{"index":0,"data":{"url":"https:\/\/admin.flomat.cz\/obrazky\/polozky\/9e5\/9e58d15b5dec0239943113e779ac7d83.jpg?poradi=1","main":true,"switch":null}}}}
If you check the URL, it works fine. I'm not sure on which side this error occurs, but i'm not able to find any related 400 errors in our access log nor error log.
Hi,
would you please be so kind and check if the image caching (as you mention @ https://marketplaceapiv2.docs.apiary.io/#reference/products/getputdelete-product/put-product - media object “Picture is updated only if URL is different - use some parameter in URL...”) is working correctly?
Every day when we do all-product sync (once a day), your server requests about 10k+ images from our server and many of them multiple times:
I'm pretty sure it'd be a big conisidence that all our product images would change at the same time and also every day.
The problem comes down to many errors of this kind:
If you check the URL, it works fine. I'm not sure on which side this error occurs, but i'm not able to find any related 400 errors in our access log nor error log.
Thank you.