ArthurG/Kijiji-Repost-Headless

500 error on image upload URL

Opened this issue · 0 comments

anyone getting this:

python3 kijiji_repost_headless -s ./ssid.txt post item.yml
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "kijiji_repost_headless/main.py", line 193, in
main()
File "kijiji_repost_headless/main.py", line 50, in main
args.function(args)
File "kijiji_repost_headless/main.py", line 90, in post_ad
api.post_ad_using_data(data, image_files)
File "kijiji_repost_headless/kijiji_api.py", line 194, in post_ad_using_data
image_list = self.upload_image(image_upload_token, image_files)
File "kijiji_repost_headless/kijiji_api.py", line 165, in upload_image
r.raise_for_status()
File "/Library/Python/3.8/site-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: for url: https://www.kijiji.ca/p-upload-image.html