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

404 Client Error: Not Found for url: https://www.pinterest.com/resource/PinResource/create/ #207

Open
imdadadenangua opened this issue Jul 19, 2024 · 4 comments

Comments

@imdadadenangua
Copy link

`pin_response = pinterest.upload_pin(board_id='',
image_file='2.png',
description='TESTING PIN FUNCTIONALITY WITH ID FETCHING',
title='Foobar Barfood',
section_id=None,
link='')

response_data = json.loads(pin_response.content)
print(response_data)`

Traceback (most recent call last):
File "D:\phpstudy_pro\WWW\py\postpin\01.py", line 27, in
pin_response = pinterest.upload_pin(board_id='',
File "D:\phpstudy_pro\WWW\py\postpin\venv\lib\site-packages\py3pin\Pinterest.py", line 636, in upload_pin
return self.pin(
File "D:\phpstudy_pro\WWW\py\postpin\venv\lib\site-packages\py3pin\Pinterest.py", line 627, in pin
return self.post(url=PIN_RESOURCE_CREATE, data=data)
File "D:\phpstudy_pro\WWW\py\postpin\venv\lib\site-packages\py3pin\Pinterest.py", line 178, in post
return self.request(
File "D:\phpstudy_pro\WWW\py\postpin\venv\lib\site-packages\py3pin\Pinterest.py", line 170, in request
response.raise_for_status()
File "D:\phpstudy_pro\WWW\py\postpin\venv\lib\site-packages\requests\models.py", line 943, 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/ApiResource/create/

@ponideal
Copy link

same_error

@hujiamin1997
Copy link

I have already solved the problem; the issue was that the title was too long.

@ponideal
Copy link

I have already solved the problem; the issue was that the title was too long.

my title 1 word :)

@ponideal
Copy link

I have already solved the problem; the issue was that the title was too long.

u use pin or upload pin ?

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

3 participants