Maximum retries exceeded with token not able to establish connection error

Max retries exceeded with url: /v5.0112484523614558/photos?access_token=EAAI1s6cT6EIBAN3YUhlbzndmYu4oaxM

Hi @vinayak, is your issue resolved?

no, not yet it still displays the same error

would i need a new token to do it

tell me how to resolve it @Shashank_Crio_TA

Please don’t hardcode the tokens and update the tokens in file

@Shashank_Crio_TA yes I’ve updated them in the however the same error gets popped up

Please don’t hardcode token values while making request. You can look into TODO of on how to use the token values without hard coding.

Yes I’m accessing them using id and acess.tokens @Shashank_Crio_TA

Please check whether you are sending the message also?

yes I’m sending the message too

this is the error im getting —
r = adapter.send(request, **kwargs)
File “/home/crio-user/.local/lib/python3.6/site-packages/requests/”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘’, port=443): Max retries exceeded with url: /v5.0/106935460840737/photos?access_token=EAAKAuzVo6KcBAIuWb5hP1D4JMD0u8rrTsRCRF5zaQDUm5CH475K4CLKLRaHKV9puI14FXdC9o4i4xp4zuZBJZCqNTcjnMKnNXzaPdBetMPQGqNCrfzQilrDhuq8naw5cO0kShBf7G9QqRuLYLf3yiTgZAz2ZBGWTDYg9vZC6QLgZDZD (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbd774bb3c8>: Failed to establish a new connection: [Errno -2] Name or service not known’,))

@vinayak a new set of hints has been given to solve this module in announcements channel of slack group. Please refer