# Collections not imported when connecting to git repo

**URL:** <https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811>\
**Category:** Help Hub\
**Tags:** collections, import, git\
**Created:** [April 9, 2026, 3:53pm UTC](https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811 "2026-04-09T15:53:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aydendrabektoyota](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aydendrabektoyota](https://community.postman.com/u/aydendrabektoyota)\
**Post date:** [April 9, 2026, 3:53pm UTC](https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811/1 "2026-04-09T15:53:06Z")

</div>

Hello,  
I have a group of collections and environments setup in a git repo. When I add a new workspace and link it to that repos directory the collections dont seem to populate in the collection tab. Everything seems to be working fine with the environments as they appear upon creation of the workspace.

If I create a new collection it seems to scan the directory and then the existing configured collections appear

I cant upload a screen recording but

 ![cache clear](https://us1.discourse-cdn.com/getpostman/original/3X/f/6/f672b9d90f804b329fd1b11c5725df4a889ddadf.png)

 ![no collections](https://us1.discourse-cdn.com/getpostman/original/3X/d/e/de5a694ab75f41c9697070ffaa625712da472c44.png)

 ![post creating collection](https://us1.discourse-cdn.com/getpostman/original/3X/6/d/6d10aecc0469b68fa7d3e5329f09dd6cc2b81bce.png)

 ![repo connection](https://us1.discourse-cdn.com/getpostman/original/3X/c/5/c522ebf54ad8827acb25d69581d959e9f4ef5c9a.png)

Currently running version 12.5.5 and ui version 12.5.5-ui-260409-0231.  
@danny-dainton

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 9, 2026, 4:15pm UTC](https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811/2 "2026-04-09T16:15:43Z")

</div>

Hey @aydendrabektoyota 👋

Welcome to the Postman Community! :postman:

Without the full app screenshots it’s a little tricky to know/see which mode (Local/Cloud) you are in for each of the stages you shared.

Do you have any issues showing on the bottom menu bar?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/5/d5e0d188d068551bad44bc106c7edd396d34574c.png)

---

<div class="post-metadata">

**Author:** ![aydendrabektoyota](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aydendrabektoyota](https://community.postman.com/u/aydendrabektoyota)\
**Post date:** [April 9, 2026, 4:54pm UTC](https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811/3 "2026-04-09T16:54:35Z")

</div>

I didnt even notice that yes. It seems the workspace id is being cleared when I create the new workspace and thus giving “Invalid resources.yaml: workspace.id must not be empty” deleting that file and recreating the workspace seems to fix it.  
thanks for the help on this

---

<div class="post-metadata">

**Author:** ![aydendrabektoyota](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aydendrabektoyota](https://community.postman.com/u/aydendrabektoyota)\
**Post date:** [April 9, 2026, 5:59pm UTC](https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811/4 "2026-04-09T17:59:08Z")

</div>

One follow up question for you around environments. The environments I have configured seem to be imported correctly as I can see them in the side bar but I they are not appearing when I go to select the environments

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/d/bd91b3010a69a6515180b21c75fd31ecfd02b06b.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 13, 2026, 9:18am UTC](https://community.postman.com/t/collections-not-imported-when-connecting-to-git-repo/89811/5 "2026-04-13T09:18:03Z")

</div>

Interesting. Are those files in the `postman/environments` directory or outside it?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/1/2152b89f32db5938042f2df276d1fa848bb7ae3a.png)
