# Can't insert a data in my collection from UI

**URL:** <https://community.forestadmin.com/t/cant-insert-a-data-in-my-collection-from-ui/4637>\
**Category:** Help me!\
**Created:** [May 5, 2022, 9:25am UTC](https://community.forestadmin.com/t/cant-insert-a-data-in-my-collection-from-ui/4637 "2022-05-05T09:25:28Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [July 8, 2022, 1:08pm UTC](https://community.forestadmin.com/t/cant-insert-a-data-in-my-collection-from-ui/4637/22 "2022-07-08T13:08:09Z")

</div>

Ok you have the message in the UI as a response of the call, right?

It means the error occurs in your admin backend (422 is unprocessable entity).  
You should see a bit more info about it. Are you working in your development environment? If yes you should see the SQL queries that are tried to be executed at the moment.

---

<div class="post-metadata">

**Author:** ![Charles\_Touret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/charles_touret/32/4381_2.png) [@Charles\_Touret](https://community.forestadmin.com/u/Charles_Touret)\
**Post date:** [July 8, 2022, 1:47pm UTC](https://community.forestadmin.com/t/cant-insert-a-data-in-my-collection-from-ui/4637/23 "2022-07-08T13:47:25Z")

</div>

Can we organize a call to fix the problem ? I can’t see anything except this in my admin backend, yes I’m working locally

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [July 8, 2022, 2:00pm UTC](https://community.forestadmin.com/t/cant-insert-a-data-in-my-collection-from-ui/4637/24 "2022-07-08T14:00:02Z")

</div>

Do you have this variable set on your `.env` file?

```javascript
NODE_ENV=development

```

With this, you should be able to see the queries that are launched on your DB…

[Previous page](https://community.forestadmin.com/t/cant-insert-a-data-in-my-collection-from-ui/4637.md?page=1)
