copyright | lastupdated | keywords | subcollection | content-type | ||
---|---|---|---|---|---|---|
|
2024-01-05 |
troubleshoot software, HTTPS protocol, repo, github, tgz |
sell |
troubleshoot |
{{site.data.keyword.attribute-definition-list}}
{: #repo-upload-error} {: troubleshoot}
If you encounter an error when you are importing your software into a private catalog, a file might be missing or formatted incorrectly within your source repository. Or, if your repository is private, authentication failed. {: shortdesc}
You receive the following error message when you try to upload your product's source details from a GitHub or GitLab repository to your private catalog: {: tsSymptoms}
There was an error while contacting this URL.
This error typically occurs because a file is missing or formatted incorrectly. Or, if your repository is private, there was an error authenticating with it. {: tsCauses}
Do one of the following, depending on your product's delivery method: {: tsResolve}
- If you are uploading a
.tgz
or.yaml
file, make sure that the file is formatted correctly. For a.yaml
file, all required fields must be specified in the file. A.tgz
file must contain a singleroot
folder with all source files contained within that folder. - If your source details are in a private repository, make sure that you have a personal access token or secret to authenticate. For more information, see Importing a version to your private catalog.
- Make sure that your repository supports HTTPS protocol.
For more information about GitHub repositories, see Managing releases in a repository{: external}.
For more information about GitLab repositories, see Releases{: external}.