IBM Cloud Docs
Why can't I upload my product's source details from my source repository?

Why can't I upload my product's source details from my source repository?

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.

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:

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.

Do one of the following, depending on your product's delivery method:

  • 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 single root 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.

For more information about GitLab repositories, see Releases.