# Getting an error when importing OpenZeppelin contracts on remix

**URL:** <https://forum.openzeppelin.com/t/getting-an-error-when-importing-openzeppelin-contracts-on-remix/32060>\
**Category:** Smart Contracts\
**Created:** [September 25, 2022, 1:57pm UTC](https://forum.openzeppelin.com/t/getting-an-error-when-importing-openzeppelin-contracts-on-remix/32060 "2022-09-25T13:57:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shanmugapriya\_S](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/shanmugapriya_s/32/13477_2.png) [@Shanmugapriya\_S](https://forum.openzeppelin.com/u/Shanmugapriya_S)\
**Post date:** [September 25, 2022, 1:57pm UTC](https://forum.openzeppelin.com/t/getting-an-error-when-importing-openzeppelin-contracts-on-remix/32060/1 "2022-09-25T13:57:28Z")

</div>

Hi Everyone, I am using remix to create my ERC20 token and when importing SafeERC20(import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol), it shows "not found" error. How to deal with this

Error: not found @openzeppelin/contracts/token/ERC20/SafeER  
 ![error](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/3X/c/5/c5e9530eacfec12c321d1fd0b29cb3c3c884b4b4.png)  
C20.sol

---

<div class="post-metadata">

**Author:** ![FreezyEx](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/freezyex/32/5498_2.png) [@FreezyEx](https://forum.openzeppelin.com/u/FreezyEx)\
**Post date:** [September 25, 2022, 2:50pm UTC](https://forum.openzeppelin.com/t/getting-an-error-when-importing-openzeppelin-contracts-on-remix/32060/2 "2022-09-25T14:50:29Z")

</div>

hey @Shanmugapriya_S  
the path is @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

---

<div class="post-metadata">

**Author:** ![frangio](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/frangio/32/15251_2.png) [@frangio](https://forum.openzeppelin.com/u/frangio)\
**Post date:** [October 5, 2022, 10:27pm UTC](https://forum.openzeppelin.com/t/getting-an-error-when-importing-openzeppelin-contracts-on-remix/32060/4 "2022-10-05T22:27:59Z")

</div>

Pro-tip: You can look up the contract or library in our [documentation site](https://docs.openzeppelin.com/contracts/) and see the import statement you need. There is also a button on hover to directly copy it to the clipboard.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/3X/8/6/86c32c6c30ca182edf3cb384b48201d547be700c.png)

---

<div class="post-metadata">

**Author:** ![HotsauceIsLethal](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/hotsauceislethal/32/21124_2.png) [@HotsauceIsLethal](https://forum.openzeppelin.com/u/HotsauceIsLethal)\
**Post date:** [June 22, 2024, 12:52pm UTC](https://forum.openzeppelin.com/t/getting-an-error-when-importing-openzeppelin-contracts-on-remix/32060/5 "2024-06-22T12:52:24Z")

</div>

Thank you so much

This just solved my problem where the Github repo defaults the import to an abbreviated line of code there

Had to write out the full extensions. Still a noob here haha!
