Create New Pin Error
See original GitHub issueI tried to make a new PIN, but an error. this is my script
# -*- coding: utf-8 -*-
from py3pin.Pinterest import Pinterest
def test():
username = ''
password = ''
email = ''
# cred_root is the place the user sessions and cookies will be stored you should specify this to avoid permission issues
cred_root = 'cred_root'
pinterest = Pinterest(email=email, password=password, username=username, cred_root=cred_root)
board_id = '854698904221395783'
image_url = '25061712.jpg'
description = 'description here'
title = 'title test'
link = 'https://pricesm.com'
return pinterest.pin(board_id=board_id, image_url=image_url, description=description, title=title, link=link)
if __name__ == '__main__':
test()
and this error occurred
Traceback (most recent call last):
File "tester.py", line 22, in <module>
test()
File "tester.py", line 19, in test
return pinterest.pin(board_id=board_id, image_url=image_url, description=description, title=title, link=link)
File "/home/crabs/Documents/gameplay/py3Pinter/py3pin/Pinterest.py", line 325, in pin
return self.post(url=PIN_RESOURCE_CREATE, data=data).json()
File "/home/crabs/Documents/gameplay/.py3PinEnv/lib/python3.6/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
anyone can help?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Windows Hello errors during PIN creation - Microsoft Learn
When you set up Windows Hello in Windows client, you may get an error during the Create a PIN step. This topic lists...
Read more >How To Fix “Something Happened And Your Pin Isn't Available”
Reset PIN at Login Screen · Click on Set up My Pin below the error message. · Enter your Microsoft Account credentials. ·...
Read more >Something happened and your PIN isn't available in Windows ...
Another method to solve the "PIN isn't available" error in Windows 10, is to uninstall the latest update. 1. In the login screen...
Read more >7 Ways to Fix the Windows PIN Not Working in Windows 10
Open the Windows Settings app. · Go to Accounts. · Navigate to Your info in the left-sidebar. · Click on Sign in with...
Read more >Something went wrong and your PIN isn't available? Here's ...
This can usually happen when your access control lists on the NGC folder are corrupted, in which case you will have to reset...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes, that was my mistake. now it works well. You can continue now.
Thanks
That is already there, even before the change, probably you have some local change, or some branch is not merged. https://github.com/bstoilov/py3-pinterest/pull/25/commits/f5cbcc3b3097098965182a196cf3ede510fd47a4#diff-7725233d73b703633c5f4f0a2109ccc7L248
or am I missing something, it seems to work on my side.