Forums

Exception: HTTP/1.1 403 Forbidden

Hi Team, i am facing project i setup the yowsup app in pythonanywhere i am getting below error please

Traceback (most recent call last): File "yowsup-cli", line 368, in <module> if not parser.process(): File "yowsup-cli", line 272, in process self.startSendClient() File "yowsup-cli", line 324, in startSendClient stack.start() File "/home/bvenkata/.virtualenvs/myproject/lib/python3.5/site-packages/yowsup/demos/sendclient/stack.py", line 31, in start self.stack.loop() File "/home/bvenkata/.virtualenvs/myproject/lib/python3.5/site-packages/yowsup/stacks/yowstack.py", line 196, in loop asyncore.loop(args, *kwargs) File "/usr/lib/python3.5/asyncore.py", line 203, in loop poll_fun(timeout, map) File "/usr/lib/python3.5/asyncore.py", line 150, in poll read(obj) File "/usr/lib/python3.5/asyncore.py", line 87, in read obj.handle_error() File "/usr/lib/python3.5/asyncore.py", line 83, in read obj.handle_read_event() File "/usr/lib/python3.5/asyncore.py", line 423, in handle_read_event self.handle_read() File "/home/bvenkata/.virtualenvs/myproject/lib/python3.5/site-packages/yowsup/layers/network/layer.py", line 98, in handle_read data = self.proxyHandler.recv(self, readSize) File "/home/bvenkata/.virtualenvs/myproject/lib/python3.5/site-packages/yowsup/common/http/httpproxy.py", line 91, in recv raise Exception('%s' % (data[:data.index('\r\n')])) Exception: HTTP/1.1 403 Forbidden

If you are a free user, you are only allowed to access an existing whitelist. If you are trying to access a public api, you can show us the api docs and endpoints and we can add it to the whitelist for you. Otherwise you will have to upgrade. See here for more details.