Untitled
SDKError Traceback (most recent call last) Cell In[92], line 1 ----> 1 res = s.connections.get_connection(request=api.GetConnectionRequest( 2 connection_id='cdd4bf7e-ed72-406a-a882-6d9a1f6adcd1', 3 )) 5 if res.connection_response is not None: 6 # handle response 7 pass File ~/PycharmProjects/ai-insights/src/venv/lib/python3.11/site-packages/airbyte_api/connections.py:173, in Connections.get_connection(self, request) 171 raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) 172 elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: --> 173 raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) 174 else: 175 raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) SDKError: API error occurred: Status 403 {"message":"Forbidden","_embedded":{"errors":[{"message":"Forbidden","_embedded":{},"_links":{}}]},"_links":{"self":{"href":"/api/v1/connections/cdd4bf7e-ed72-406a-a882-6d9a1f6adcd1","templated":false}}}
Leave a Comment