Skip to content

Bug: API client throws exception when network is unstable #936

@testhacker1one

Description

@testhacker1one

Description

When the network connection is unstable, the API client raises an unhandled exception. This can cause application crashes and disrupt workflows.

Steps to Reproduce

  1. Initiate a request with the API client.
  2. Simulate network instability or loss of connectivity.
  3. Observe the exception raised by the client.

Expected Behavior

The API client should handle network errors gracefully and return a standard error response or retry the operation.

Actual Behavior

An unhandled exception is raised and the application may crash.

Potential Solution

  • Implement exception handling for network-related errors
  • Consider implementing retry logic or returning a descriptive error message

Environment

  • Python version: [please specify]
  • SDK version: [please specify]

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions