bstoilov / py3-pinterest

Fully fledged Python Pinterest client
MIT License
312 stars 106 forks source link

equests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.pinterest.com/resource/PinResource/create/ #211

Closed ponideal closed 2 months ago

ponideal commented 2 months ago

File "/Users/root1/PycharmProjects/pinterestAuto/.venv/lib/python3.12/site-packages/py3pin/Pinterest.py", line 633, in upload_pin return self.pin( ^^^^^^^^^ File "/Users/root1/PycharmProjects/pinterestAuto/.venv/lib/python3.12/site-packages/py3pin/Pinterest.py", line 624, in pin return self.post(url=PIN_RESOURCE_CREATE, data=data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/root1/PycharmProjects/pinterestAuto/.venv/lib/python3.12/site-packages/py3pin/Pinterest.py", line 175, in post return self.request( ^^^^^^^^^^^^^ File "/Users/root1/PycharmProjects/pinterestAuto/.venv/lib/python3.12/site-packages/py3pin/Pinterest.py", line 167, in request response.raise_for_status() File "/Users/root1/PycharmProjects/pinterestAuto/.venv/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.pinterest.com/resource/PinResource/create/