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/ #188

Open
inspiringnorah opened this issue Jun 26, 2023 · 1 comment

Comments

@inspiringnorah
Copy link

After successful login message when i execute the following code

currdir = os.path.dirname(__file__)
response  = pinterest.upload_pin(board_id='497577596238700583',
            image_file=currdir+'/aaa.jpg',
            description='This is th epin desc',
            title='This is the title',
            link='www.youtube.com')

print(response)

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

COMPLETE MESSAGE:

Successfully logged in with account ABC@emaill.com

Traceback (most recent call last):
File ".\2023_script.py", line 21, in
link='www.youtube.com')
File "G:\NetBeansProjects\Instagram\instoo\Python37\lib\site-packages\py3pin\Pinterest.py", line 600, in upload_pin
return self.pin(board_id=board_id, description=description, image_url=image_url, link=link, title=title, section_id=section_id,)
File "G:\NetBeansProjects\Instagram\instoo\Python37\lib\site-packages\py3pin\Pinterest.py", line 593, in pin
return self.post(url=PIN_RESOURCE_CREATE, data=data)
File "G:\NetBeansProjects\Instagram\instoo\Python37\lib\site-packages\py3pin\Pinterest.py", line 174, in post
"POST", url=url, data=data, files=files, extra_headers=headers
File "G:\NetBeansProjects\Instagram\instoo\Python37\lib\site-packages\py3pin\Pinterest.py", line 165, in request
response.raise_for_status()
File "G:\NetBeansProjects\Instagram\instoo\Python37\lib\site-packages\requests\models.py", line 1021, 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/

@Arpit980jai
Copy link

Facing the same issue is it resolved?

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

2 participants