jackm / kijiji-manager

App for viewing, posting, reposting, and deleting your Kijiji ads
https://pypi.org/project/kijiji-manager/
MIT License
52 stars 11 forks source link

KijijiApiException: One of your images is not on an accepted service. Please upload your images again. #42

Closed dudududodododedede closed 2 years ago

dudududodododedede commented 2 years ago

Suddenly started getting this error when clicking "repost all ads" button (have done this dozens of times without issue)

  File "...kijijiapi.py", line 223, in post_ad
    raise KijijiApiException(self._error_reason(doc))
kijiji_manager.kijijiapi.KijijiApiException: One of your images is not on an accepted service. Please upload your images again.
dudududodododedede commented 2 years ago

Getting the same error when trying to make a new post from scratch as well: "One of your images is not on an accepted service. Please upload your images again."

jackm commented 2 years ago

I get the same error and refusal to post the ad. Looks like Kijiji changed their backend for hosting images. I'll have to find out what they changed and update this project accordingly.

kobemtl commented 2 years ago

was i.ebayimg.com now media.kijiji.ca :( Damn Kijiji

jackm commented 2 years ago

Got a working implementation using the current image upload API. ~It is available on the new-image-upload-api branch but has not yet been merged back into master~. This has been merged into the master branch and released in v0.1.11.

One outstanding issue is that if you try to repost existing ads they will fail because they would still be using the obsolete eBay image API and so Kijiji will refuse to post the ad if it sees the old image URLs. For now, you will have to repost existing ads by deleting them and posting them again starting from scratch (i.e. to reupload ad images).

I am investigating if it is possible to have this app automatically reupload images from existing ads to the new image upload API service.

kobemtl commented 2 years ago

Thank you so much!

jackm commented 2 years ago

This has been fixed and released in v0.1.11.