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.
The SigSci API requires that the site name be all lowercase. For example, attempting to clone a site with
--dest Site_Namereturns 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_nameit 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.