Skip to content

SigSci API requires site names be lowercase but that is not enforced by input validation, causing confusion. #52

@pizen

Description

@pizen

The SigSci API requires that the site name be all lowercase. For example, attempting to clone a site with --dest Site_Name returns an error that the site already exists. However, what is happening is that the API is returning the error "Invalid resource request", which is being interpreted as the site already existing. If you run the command with --dest site_name it succeeds.

The best solution is probably to just take the site name provided by the user and make it lowercase before making the API request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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