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

requests.exceptions.HTTPError: 404 Client Error: Not found for url : https://www.pinterest.com/resource/PinResource/create/ #5

Open
akirchhoff24 opened this issue Aug 22, 2018 · 0 comments

Comments

@akirchhoff24
Copy link

Receiving the error below when trying to create a pin. Initial google search suggests it could be rejecting the user agent. After that I explicitly stated the user agent to the one in the example with the same result. Anyone having this issue?

(mage-pin) C:\Users\austink\Developer\python\mage-pin>python importProducts.py
#OutdoorFabrics #BlueFabrics #GreenFabrics #YellowFabrics #OutdoorFabrics
304485693496402896
32102 Multi (Nacho), by Luxury Fabrics, Inc. Upholstery grade Outdoor fabric, click through to learn more. #OutdoorFabrics #BlueFabrics #GreenFabrics #YellowFabrics #OutdoorFabrics #upholsteryfabrics, #upholstery, #fabrics, #luxuryfabrics
Traceback (most recent call last):
File "importProducts.py", line 59, in
pinterest.pin(id,image_file,description,link)
File "C:\Users\austink\Developer\python\mage-pin\lib\site-packages\pinterest\Pinterest.py", line 273, in pin
result = self.post(url=url, data=data, ajax=True).json()
File "C:\Users\austink\Developer\python\mage-pin\lib\site-packages\pinterest\Pinterest.py", line 85, in post
return self.request('POST', url=url, data=data, files=files, headers=headers, ajax=ajax, stream=stream)
File "C:\Users\austink\Developer\python\mage-pin\lib\site-packages\pinterest\Pinterest.py", line 71, in request
response.raise_for_status()
File "C:\Users\austink\Developer\python\mage-pin\lib\site-packages\requests\models.py", line 939, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.pinterest.com/resource/PinResource/create/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant