# "The object can not be found here" error when accessing camera

**URL:** <https://forum.ionicframework.com/t/the-object-can-not-be-found-here-error-when-accessing-camera/158615>\
**Category:** Appflow\
**Created:** [March 8, 2019, 5:06pm UTC](https://forum.ionicframework.com/t/the-object-can-not-be-found-here-error-when-accessing-camera/158615 "2019-03-08T17:06:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottieslg](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/scottieslg/32/116764_2.png) [@scottieslg](https://forum.ionicframework.com/u/scottieslg)\
**Post date:** [March 8, 2019, 5:06pm UTC](https://forum.ionicframework.com/t/the-object-can-not-be-found-here-error-when-accessing-camera/158615/1 "2019-03-08T17:06:38Z")

</div>

My client is occasionally getting an error when trying to access the camera or photo gallery that says “The object can not be found here.”

Usually if they close and re-open the app, it will work for a while, but then eventually stops working and I get this error recorded.

From what I have been able to gather, it looks like this is related to accessing the camera or photo gallery.

Any ideas what might be causing this and how to fix it?

---

<div class="post-metadata">

**Author:** ![Lakshmareddy](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@Lakshmareddy](https://forum.ionicframework.com/u/Lakshmareddy)\
**Post date:** [March 8, 2019, 5:17pm UTC](https://forum.ionicframework.com/t/the-object-can-not-be-found-here-error-when-accessing-camera/158615/2 "2019-03-08T17:17:42Z")

</div>

If Your Using ionic 4 . Can you check it once.

Correct your import by adding `/ngx` like `import {Camera} from '@ionic-native/camera/ngx';`

---

<div class="post-metadata">

**Author:** ![scottieslg](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/scottieslg/32/116764_2.png) [@scottieslg](https://forum.ionicframework.com/u/scottieslg)\
**Post date:** [March 8, 2019, 11:32pm UTC](https://forum.ionicframework.com/t/the-object-can-not-be-found-here-error-when-accessing-camera/158615/3 "2019-03-08T23:32:38Z")

</div>

It works like 95% of the time. I can get to the photo gallery and camera most of the time, but occasionally I get this error.

I’m not sure importing will fix the other 5%?
