# TROUBLESHOOTING: Getting "failed to load file" error when importing data to NetSuite

**URL:** <https://connective.celigo.com/t/troubleshooting-getting-failed-to-load-file-error-when-importing-data-to-netsuite/1331>\
**Category:** Integrator.io\
**Tags:** hooks, error-handling, environment, import, netsuite\
**Created:** [September 1, 2020, 3:31pm UTC](https://connective.celigo.com/t/troubleshooting-getting-failed-to-load-file-error-when-importing-data-to-netsuite/1331 "2020-09-01T15:31:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![courtneyjordan](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@courtneyjordan](https://connective.celigo.com/u/courtneyjordan)\
**Post date:** [September 1, 2020, 3:31pm UTC](https://connective.celigo.com/t/troubleshooting-getting-failed-to-load-file-error-when-importing-data-to-netsuite/1331/1 "2020-09-01T15:31:22Z")

</div>

If you're trying to import to NetSuite and you're getting the following error:

```
Failed to load file: xxxxx; caused by: You do not have access to the media itemyou selected
```

Verify your SuiteScript hook Internal ID in NetSuite to make sure that it matches the one you've specified in integrator.io.

One scenario where this can happen is if you have sandbox and production environments; make sure that the Internal IDs are the same.
