# Unable to import via API link

**URL:** <https://community.postman.com/t/unable-to-import-via-api-link/83333>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [August 6, 2025, 9:44am UTC](https://community.postman.com/t/unable-to-import-via-api-link/83333 "2025-08-06T09:44:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [August 6, 2025, 9:44am UTC](https://community.postman.com/t/unable-to-import-via-api-link/83333/1 "2025-08-06T09:44:40Z")

</div>

Hi,

We have a collection that is shared via API link. It’s been working as expected for quite some time now, but recently, whenever someone tries to import the collection with the API link, it fails with the error “Error while fetching data from link”

Using Postman version v11.57.1.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [August 6, 2025, 10:55am UTC](https://community.postman.com/t/unable-to-import-via-api-link/83333/2 "2025-08-06T10:55:46Z")

</div>

Hi @spaceflight-physici2. Welcome to the Postman Community :postman:.

If you send a GET request to this link or paste in a browser, do you get the collection back in JSON?

---

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [August 6, 2025, 11:05am UTC](https://community.postman.com/t/unable-to-import-via-api-link/83333/3 "2025-08-06T11:05:42Z")

</div>

Thanks. 🙂

If I send a GET request / paste into my browser, it returns “forbiddenError” , “You are not permitted to perform the action.”

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [August 6, 2025, 11:30am UTC](https://community.postman.com/t/unable-to-import-via-api-link/83333/4 "2025-08-06T11:30:22Z")

</div>

@spaceflight-physici2 This could mean that the API key is no longer valid or has been revoked.

Can you try to generate a new API key and use that?

---

<div class="post-metadata">

**Author:** ![spaceflight-physici2](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@spaceflight-physici2](https://community.postman.com/u/spaceflight-physici2)\
**Post date:** [August 6, 2025, 1:47pm UTC](https://community.postman.com/t/unable-to-import-via-api-link/83333/5 "2025-08-06T13:47:51Z")

</div>

Thanks, that’s worked. 🙂

I noticed that for Postman API keys, you can change the length of time before they expire, or even set them to never expire; are you also able to do this for collection keys, or are they always set to expire after sixty days of inactivity?
