# Empty fields in WithObjects response in Go

**URL:** <https://forum.weaviate.io/t/empty-fields-in-withobjects-response-in-go/4311>\
**Category:** Support\
**Created:** [September 25, 2024, 11:08am UTC](https://forum.weaviate.io/t/empty-fields-in-withobjects-response-in-go/4311 "2024-09-25T11:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrano](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vrano](https://forum.weaviate.io/u/vrano)\
**Post date:** [September 25, 2024, 11:08am UTC](https://forum.weaviate.io/t/empty-fields-in-withobjects-response-in-go/4311/1 "2024-09-25T11:08:40Z")

</div>

Hello,

I’m using Go to ingest my data into a Weaviate database with two collections connected by a reference. I need to keep track of failed batches effectively, and my current approach relies on the WithObjects function. It is supposed to return an object ID for each object in the return type, but I get that field as well as the class field as empty

```auto
[
    {
        Object: {
            Additional: map[]
            Class: 
            CreationTimeUnix: 0
            ID: 
            LastUpdateTimeUnix: 0
            Properties: <nil>
            Tenant: 
            Vector: []
            VectorWeights: <nil>
            Vectors: map[]
        }
        Deprecations: []
        Result: 0xc0006fc8e0
    },
    {
        Object: {
            Additional: map[]
            Class: 
            CreationTimeUnix: 0
            ID: 
            LastUpdateTimeUnix: 0
            Properties: <nil>
            Tenant: 
            Vector: []
            VectorWeights: <nil>
            Vectors: map[]
        }
        Deprecations: []
        Result: 0xc0006fc8f0
    }
]

```

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [September 30, 2024, 3:07pm UTC](https://forum.weaviate.io/t/empty-fields-in-withobjects-response-in-go/4311/2 "2024-09-30T15:07:54Z")

</div>

hi @vrano !!

Can you share the the code you are using?

THanks!
