# Secrets of documents are null

**URL:** <https://community.fibery.io/t/secrets-of-documents-are-null/1468>\
**Category:** Bugs & Issues\
**Created:** [March 19, 2021, 10:37am UTC](https://community.fibery.io/t/secrets-of-documents-are-null/1468 "2021-03-19T10:37:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrianjs42](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/adrianjs42/32/1600_2.png) [@Adrianjs42](https://community.fibery.io/u/Adrianjs42)\
**Post date:** [March 19, 2021, 10:37am UTC](https://community.fibery.io/t/secrets-of-documents-are-null/1468/1 "2021-03-19T10:37:18Z")

</div>

I’m using the example of [action button - insert template](https://gitlab.com/fibery-community/action-buttons/-/blob/master/insert-interview-template/insert-template.js) and the button is not working anymore, because the secrets of the documents are null.

Tested in two different workspaces.

```
{
      Id: 'xxx-xxx-xxx',
      'Story Template': { Id: 'xxxxx', Secret: null }
}
```

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [March 19, 2021, 11:45am UTC](https://community.fibery.io/t/secrets-of-documents-are-null/1468/2 "2021-03-19T11:45:13Z")

</div>

I just tried the example code, and it worked fine for me. It’s hard to know what your problem might be, but as long as you have set up your types in the way the example expects, I think it should be OK.

---

<div class="post-metadata">

**Author:** ![Adrianjs42](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/adrianjs42/32/1600_2.png) [@Adrianjs42](https://community.fibery.io/u/Adrianjs42)\
**Post date:** [March 19, 2021, 11:57am UTC](https://community.fibery.io/t/secrets-of-documents-are-null/1468/3 "2021-03-19T11:57:32Z")

</div>

@Chr1sG now it’s working in my workspace, too. Didn’t change anything, so I think something was broken

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [March 19, 2021, 12:02pm UTC](https://community.fibery.io/t/secrets-of-documents-are-null/1468/4 "2021-03-19T12:02:16Z")

</div>

👍  
Good to hear!
