You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "<stdin>", line 2, in f2
File "/usr/local/lib/python3.12/site-packages/stripe/checkout/_session_service.py", line 2378, in retrieve_async
await self._request_async(
File "/usr/local/lib/python3.12/site-packages/stripe/_stripe_service.py", line 52, in _request_async
return await self._requestor.request_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/stripe/_api_requestor.py", line 217, in request_async
rbody, rcode, rheaders = await requestor.request_raw_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/stripe/_api_requestor.py", line 683, in request_raw_async
) = await self._get_http_client().request_with_retries_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/stripe/_http_client.py", line 434, in request_with_retries_async
return await self._request_with_retries_internal_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/stripe/_http_client.py", line 549, in _request_with_retries_internal_as ync
raise connection_error
File "/usr/local/lib/python3.12/site-packages/stripe/_http_client.py", line 514, in _request_with_retries_internal_as ync
response = await self.request_async(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/stripe/_http_client.py", line 1443, in request_async
) = await self.request_stream_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/stripe/_http_client.py", line 1474, in request_stream_async
self._handle_request_error(e)
File "/usr/local/lib/python3.12/site-packages/stripe/_http_client.py", line 1458, in _handle_request_error
raise APIConnectionError(msg, should_retry=should_retry)
stripe._error.APIConnectionError: Unexpected error communicating with Stripe. If this problem persists,
let us know at support@stripe.com.
(Network error: A RuntimeError was raised)
Expected behavior
The session content with the items expanded.
Code snippets
No response
OS
Linux CoreOS
Language version
Python 3.12
Library version
Latest
API version
2024-04-10
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Requesting list-items isn't working when using async requests
To Reproduce
retrieve_async(id)
but it isn't supporting theexpand
option.Error:
Expected behavior
The session content with the items expanded.
Code snippets
No response
OS
Linux CoreOS
Language version
Python 3.12
Library version
Latest
API version
2024-04-10
Additional context
No response
The text was updated successfully, but these errors were encountered: