Skip to content

Assert that a Cloud ID is correctly formatted before trying to parse it #2694

Closed
@JoshMock

Description

@JoshMock

Currently, if providing a Cloud ID as authentication to the client, it assumes it will be correctly formatted and begins parsing it with that assumption. If it's improperly formatted, it will raise a vague TypeError or similar.

The client should run an assertion and throw a more constructive error message if the ID is poorly formatted.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions