Skip to main content

Hi Team,

I am getting below error while accessing box api using flask python application to upload document in box api.

 

Exception::Couldn't connect to the Box API due to a network error.

 raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.box.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001ED7D48BE60>: Failed to resolve 'api.box.com' ([Errno 11001] getaddrinfo failed)"))

Couldn't connect to the Box API due to a network error?

Be the first to reply!