"Failed to retrieve repository and file details" error when using the Terraform Integration and calling "Find Branches and Repositories" Issue "Failed to retrieve repository and file details" error when using the Terraform Integration and calling "Find Branches and Repositories"CauseYou will see the "Failed to retrieve repository and file details" error on the screen when calling "Find Branches and Repositories" on a Terraform VCS. You will also see this in the logs: *** WARNING *** Request not sent to uri= / : java.lang.illegalArgumentException: host parameter is null This can be due to an issue with the endpoint URL formatting if the customer is using a custom vanity URL and not a GitHub or GitLab URL. ResolutionThe TerraformVCSHelper MID Server Script Include will need to be modified to handle a vanity URL, so you will want to add another condition in the _identifyVCS function to qualify your URL as Github. Once that is done the process will continue without errors. TerraformVCSHelper MID Server Script Include https://<instance>.service-now.com/ecc_agent_script_include.do?sys_id=1d4337b35b725010720b1ec76981c75f