# Invalid top level keys: database error

**URL:** <https://community.eazybi.com/t/invalid-top-level-keys-database-error/8912>\
**Category:** Questions & Answers\
**Created:** [February 22, 2022, 6:02pm UTC](https://community.eazybi.com/t/invalid-top-level-keys-database-error/8912 "2022-02-22T18:02:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swapna\_R](https://community.eazybi.com/user_avatar/community.eazybi.com/swapna_r/32/3967_2.png) [@Swapna\_R](https://community.eazybi.com/u/Swapna_R)\
**Post date:** [February 22, 2022, 6:02pm UTC](https://community.eazybi.com/t/invalid-top-level-keys-database-error/8912/1 "2022-02-22T18:02:11Z")

</div>

Hi team,

I have created scripted field, when i try to export field in advance settings it gives invalid to level key error.

Below is the pattern which i used to import the script ed fields:  
[jira.customfield\_NNNNN]  
data\_type = “string”  
dimension = true

Kindly help me to fix this ASAP.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![martins.vanags](https://community.eazybi.com/user_avatar/community.eazybi.com/martins.vanags/32/8905_2.png) [@martins.vanags](https://community.eazybi.com/u/martins.vanags)\
**Post date:** [February 23, 2022, 10:28am UTC](https://community.eazybi.com/t/invalid-top-level-keys-database-error/8912/2 "2022-02-23T10:28:12Z")

</div>

@Swapna_R

Did you use your actual custom field ID instead of NNNNN?  
Does it work if you import the field as property with data\_type = “text”?

```auto
[jira.customfield_NNNNN]
data_type = "text"

```

Perhaps the structure of the field can not be imported as dimension member.  
Would be great if you could share JSON results for that customfield\_NNNNN from one of Jira ticket Rest API queries.

```auto
(http://JIRA_HOME/rest/api/latest/issue/ISSUE-KEY)

```

Martins / eazyBI

 ![Rest API example](https://community.eazybi.com/uploads/default/original/2X/8/8cce8099edb8387c68e2c60b302418e19a52b55b.jpeg)
