fbchat-dev / fbchat-dev/fbchat
Error #1390008 with fetchUserInfo
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
I don't think this is an issue with fbchat but I can't really ask it anywhere else, so here goes:
I've made a simple program that basically looked at all the messages of a group chat one by one and fetched information about its user, it was working great while I was testing it, but once I let it run for the whole conversation which took about an hour it returned with the following error at the point where I call "fetchUserInfo":
```
Traceback (most recent call last):
File "C:\Users\monochrome\Desktop\testpyth\PythonApplication1\PythonApplication1\new.py", line 28, in
user = client.fetchUserInfo('11111')
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_client.py", line 621, in fetchUserInfo
threads = self.fetchThreadInfo(*user_ids)
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_client.py", line 721, in fetchThreadInfo
pages_and_users = self._fetchInfo(*pages_and_user_ids)
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_client.py", line 571, in _fetchInfo
j = self._payload_post("/chat/user_info/", data)
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_client.py", line 116, in _payload_post
return self._state._payload_post(url, data, files=files)
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_state.py", line 261, in _payload_post
j = self._post(url, data, files=files)
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_state.py", line 246, in _post
_util.handle_payload_error(j)
File "C:\Users\monochrome\AppData\Local\Programs\Python\Python37\lib\site-packages\fbchat\_util.py", line 146, in handle_payload_error
fb_error_message=j["errorDescription"],
fbchat._exception.FBchatFacebookError: Error #1390008 when sending request: {'__html': '
- We limit how often you can post, comment or do other things in a given amount of time in order to help protect the community from spam. You can try again later. Learn More
- If you think this doesn't go against our Community Standards let us know.
```
It's been a day since and I still can't use fetchUserInfo. Weirdly enough though, I can use normally other fetch requests (such as fetchThreadMessages) and even send messages, also I'm not banned from facebook/messenger, I can still use them fine, so I don't know what's going on. Any help would be appreciated?
Contributor guide
Assessment
This issue has not been assessed yet.