"Response [400]" (Bad Request) on initiating conversation
See original GitHub issueHello and Greetings Mr. Borislav Stoilov.
I have been trying to initiate a conversation but I get a “Response [400]” which means Bad Request. Other things such as get_user_overview()
or search()
or pin()
work perfectly fine.
My code is as following:
from py3pin.Pinterest import Pinterest
pinterest = Pinterest(email=my_email, password=my_password, username=my_username, cred_root=my_cred_root)
result = pinterest.initiate_conversation(user_ids=my_user_id, message='testing...')
print(result)
Output:
<Response [400]>
Any idea what might be causing this issue?
Thank you. 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
What is a Bad Request Error 400 and How Do You Fix It?
Another possible reason for the 400 Bad Request error message is deceptive request routing. The server sees all those issues as client-initiated errors....
Read more >User/lead initiated conversation using email returns 400 bad ...
This returns a 400 bad request response, if 'email' is used in the from field. Logs. PHP Fatal error: Uncaught Http\Client\Common\Exception\ ...
Read more >Teams - Create a chat - Bad Request 400 error
Hi Jay - it's working for me now. I initially got the same error, but it was because the connection/account I was using...
Read more >creating conversation using an email returns 400 bad request
Actual behavior: This returns a 400 bad request response, if 'email' is used in the from field. Logs: PHP Fatal error: Uncaught Http\Client\ ......
Read more >400 Bad Request Error: What It Is and How to Fix It
The 400 Bad Request Error is an HTTP response status code indicating that the server was unable to process the request sent by...
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
That is indeed the latest one. One thing I noticed
user_ids=my_user_id
my_user_id is array right?Glad to hear that it is now working 😃