---
name: sell-ts-repo-upload
title: Why can't I upload my product's source details from my source repository?
description: 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.
last-updated: 2025-11-14
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/sell?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Why can't I upload my product's source details from my source repository?
{: #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}

```text
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 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](https://cloud.ibm.com/docs/sell?topic=sell-sw-validate&interface=ui&format=markdown#sw-validate-add).
- Make sure that your repository supports HTTPS protocol.

For more information about GitHub repositories, see [Managing releases in a repository](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository){: external}.

For more information about GitLab repositories, see [Releases](https://docs.gitlab.com/user/project/releases/#:~:text=In%20GitLab,%20a%20release%20enables,point%20in%20the%20source%20code.){: external}.