# Problem: Different field name in Fibery API depending on the database

**URL:** <https://community.fibery.io/t/problem-different-field-name-in-fibery-api-depending-on-the-database/4735>\
**Category:** API & Programming\
**Created:** [July 5, 2023, 1:30pm UTC](https://community.fibery.io/t/problem-different-field-name-in-fibery-api-depending-on-the-database/4735 "2023-07-05T13:30:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maximich](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/maximich/32/7114_2.png) [@Maximich](https://community.fibery.io/u/Maximich)\
**Post date:** [July 5, 2023, 1:30pm UTC](https://community.fibery.io/t/problem-different-field-name-in-fibery-api-depending-on-the-database/4735/1 "2023-07-05T13:30:04Z")

</div>

I am using JS Fibery API ([https://api.fibery.io/](https://api.fibery.io/)) to create an entity (i.e. Feature or Bug). I use this piece of code to create an entity:

```auto
  const entity = await fibery.entity.createBatch([
      {
        'type': `${fiberySpace}/${fiberyDatabase}`,
        'entity': {
          [`${fiberySpace}/Name`]: entityName,
        }
      }
    ]);

```

The code works fine for database called “Product Area” in space “Product”, but when I tried to apply the same for entity “Feature” in the space “Product”, I got an error saying fibery cannot find “Product/Name” in “Feature”. It turned out that it was named “Product/name” (so, lowercase, but referring to the same field: Name) and I don’t see any particular reason why it should be the case since Fibery autogenerates this field at the time when we create a database. Furthermore, it is the case as well for another space called “Development” where I have databases “Dev Task” and “Bug”.

 ![Databases under Product space, 75%](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/c/c83d8545c418067e8610ff78a3a9feb4325ff430.png)

Do You know any reason why it could be the case and how it can be fixed? Any form of help is much appreciated!

---

<div class="post-metadata">

**Author:** ![Viktar\_Zhuk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/viktar_zhuk/32/1934_2.png) [@Viktar\_Zhuk](https://community.fibery.io/u/Viktar_Zhuk)\
**Post date:** [July 6, 2023, 10:12am UTC](https://community.fibery.io/t/problem-different-field-name-in-fibery-api-depending-on-the-database/4735/2 "2023-07-06T10:12:52Z")

</div>

Hello,  
Unfortunately, we do not enforce that field name on backend. UI selects name field using “ui/title?” meta flag on field object

```auto
fieldObject["fibery/meta"]["ui/title?"] === true

```

So, you have to consult Schema [Fibery API](https://api.fibery.io/#schema) before making any queries.  
You may try using our [Fibery GraphQL API](https://api.fibery.io/graphql.html#graphql-api-overview) as it is more forgiving in this terms and also has query editor with hints.
