Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dudududodododedede opened this issue Jun 28, 2022 · 6 comments
Labels
api change Breaking Kijiji backend API change bug Something isn't working

Comments

@dudududodododedede
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Owner

jackm commented Jun 28, 2022

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.

@jackm jackm added api change Breaking Kijiji backend API change bug Something isn't working labels Jun 28, 2022
@kobemtl
Copy link

kobemtl commented Jun 28, 2022

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

@jackm
Copy link
Owner

jackm commented Jun 29, 2022

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
Copy link

kobemtl commented Jun 30, 2022

Thank you so much!

@jackm
Copy link
Owner

jackm commented Jul 6, 2022

This has been fixed and released in v0.1.11.

@jackm jackm closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Breaking Kijiji backend API change bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants