Apollo cache throws MissingFieldError

I’m trying to update the cache for a query, it gets to the update function but can’t find the query due to the missing field error although there is a value for that field:

category_descriptions {
      id
      name
      ...
    }

Can't find field 'id' on object {\n \"__typename\": \"marketplace_category_descriptions\"...

Is this a bug or I’m doing something wrong ?

It’s saying that you didn’t give it any data for the id field when updating the cache data

1 Like