# Ionic native camera plugin - error 20

**URL:** <https://forum.ionicframework.com/t/ionic-native-camera-plugin-error-20/133575>\
**Category:** Ionic Native\
**Created:** [June 25, 2018, 8:59pm UTC](https://forum.ionicframework.com/t/ionic-native-camera-plugin-error-20/133575 "2018-06-25T20:59:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebron](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@thebron](https://forum.ionicframework.com/u/thebron)\
**Post date:** [June 25, 2018, 8:59pm UTC](https://forum.ionicframework.com/t/ionic-native-camera-plugin-error-20/133575/1 "2018-06-25T20:59:47Z")

</div>

I have an ionic 3 app that is using the ionic native camera plugin. This plugin was working fine, however, it recently stopped working and now just returns “20” as an error where I call getPicture with camera options like

```auto
    const camOptions: CameraOptions = {
      quality: 100,
      destinationType: this.camera.DestinationType.NATIVE_URI,
      encodingType: this.camera.EncodingType.JPEG,
      mediaType: this.camera.MediaType.PICTURE,
      correctOrientation: true
    }

this.camera.getPicture(camOptions).then(imageData => {
console.log(imageData)
}, err => {
      console.log(err)
    })

```

I can create a simple tabs app and use this plugin and everything works fine. Is it maybe a plugin conflict in my project? Does anyone have any ideas? What information can I provide to help?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:31pm UTC](https://forum.ionicframework.com/t/ionic-native-camera-plugin-error-20/133575/2 "2021-07-19T21:31:46Z")

</div>

Closed on July 19, 2021, 9:31pm UTC


