Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pizen opened this issue Mar 16, 2022 · 0 comments

Comments

@pizen
Copy link
Contributor

pizen commented Mar 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant