# Javascript proxy descriptor errors when accessing schema fieldObjects

**URL:** <https://community.fibery.io/t/javascript-proxy-descriptor-errors-when-accessing-schema-fieldobjects/9419>\
**Category:** Get Help\
**Tags:** automations\
**Created:** [August 18, 2025, 11:00pm UTC](https://community.fibery.io/t/javascript-proxy-descriptor-errors-when-accessing-schema-fieldobjects/9419 "2025-08-18T23:00:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [August 18, 2025, 11:00pm UTC](https://community.fibery.io/t/javascript-proxy-descriptor-errors-when-accessing-schema-fieldobjects/9419/1 "2025-08-18T23:00:41Z")

</div>

I get a javascript error when trying to access fieldObjects in the schema - I THINK this used to work (but I haven’t tested it in a long time). Something related has definitely changed which broke some of my scripts.

```auto
const dbg = console.log
const fibery = context.getService('fibery')
const schema = await fibery.getSchema()

dbg(`schemaFieldObjects:`)
for (const typeObj of schema.typeObjects) {
    dbg('TypeObject: ', typeObj.title)
    const fieldObjs = typeObj.fieldObjects
    for (const fo of fieldObjs) {
        dbg(` Field: `, fo.title)
        dbg(JSON.stringify(fo, null, 2)) // <-- 'getOwnPropertyDescriptor' on proxy: trap returned descriptor for property 'typeObject' that is incompatible with the existing property in the proxy target
    }
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/1/10d411124c1c015c2a43b0bd909d0b618d8c42ee.png)

---

<div class="post-metadata">

**Author:** ![myg\_ge](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/myg_ge/32/12457_2.png) [@myg\_ge](https://community.fibery.io/u/myg_ge)\
**Post date:** [September 7, 2025, 11:41pm UTC](https://community.fibery.io/t/javascript-proxy-descriptor-errors-when-accessing-schema-fieldobjects/9419/2 "2025-09-07T23:41:01Z")

</div>

Hey @Chr1sG, Do you happen to know anything about this?
