Collection is not consistent with Shopify store

I have a persistent issue where my collections on my app are not consistent with what is in the shopify store. I am seeing old products that have been deleted and I am not seeing new products that I have added or updated. I have a build hook set up for whenever a product is edited. Any reason this might be happening? Here is the collection page: Seven Collection - Headless Demo

Hey @fakejohnpope, can you tell us more about your set up-- your tech stack, where you host your products, any details that may help us investigate! When you make changes such as adding new products, are they available after a delay or you don’t ever see them become available?

There seems to be a big problem with my products and collections updating. For example, the getAllCollections method in operations-builder seems to be fetching every collection I have ever created in the store:

{
  collections: [
    {
      description: '',
      descriptionHtml: '',
      handle: 'spring',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDEwODcwMA==',
      image: null,
      title: 'spring',
      type: [Object],
      updatedAt: '2021-07-12T19:41:31Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'mens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDE0MTQ2OA==',
      image: null,
      title: 'mens',
      type: [Object],
      updatedAt: '2021-07-12T19:41:45Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'womens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDE3NDIzNg==',
      image: null,
      title: 'womens',
      type: [Object],
      updatedAt: '2021-07-12T19:41:57Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'men',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDQzNjM4MA==',
      image: null,
      title: 'men',
      type: [Object],
      updatedAt: '2021-07-12T19:42:58Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'men-1',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk3ODk4MjU1Ng==',
      image: null,
      title: 'men',
      type: [Object],
      updatedAt: '2021-07-30T20:00:26Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'womens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk3OTAxNTMyNA==',
      image: null,
      title: 'womens',
      type: [Object],
      updatedAt: '2021-07-30T20:00:43Z'
    },
    {
      description: 'placeholder',
      descriptionHtml: 'placeholder',
      handle: 'spring',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk3ODg4NDI1Mg==',
      image: null,
      title: 'spring',
      type: [Object],
      updatedAt: '2021-07-30T19:59:42Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'men',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk3ODkxNzAyMA==',
      image: null,
      title: 'mens',
      type: [Object],
      updatedAt: '2021-07-30T20:00:02Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'mens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk4MzQ3MTc3Mg==',
      image: null,
      title: 'mens',
      type: [Object],
      updatedAt: '2021-07-30T20:49:04Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'men-1',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk4Mzk5NjA2MA==',
      image: null,
      title: 'men-1',
      type: [Object],
      updatedAt: '2021-07-30T20:57:46Z'
    },
    {
      description: 'test',
      descriptionHtml: 'test',
      handle: 'men',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3Mzk4Mzg5Nzc1Ng==',
      image: null,
      title: 'men',
      type: [Object],
      updatedAt: '2021-07-30T20:56:14Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'test',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3NTg5MjQzNzE0OA==',
      image: null,
      title: 'men',
      type: [Object],
      updatedAt: '2021-08-24T19:16:29Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'men-1',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3NTg5MjUwMjY4NA==',
      image: null,
      title: 'men-1',
      type: [Object],
      updatedAt: '2021-08-24T19:10:29Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'mens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3NTg5MjUzNTQ1Mg==',
      image: null,
      title: 'mens',
      type: [Object],
      updatedAt: '2021-08-24T19:10:41Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'spring',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3NTg5MjYwMDk4OA==',
      image: null,
      title: 'womens',
      type: [Object],
      updatedAt: '2021-08-24T19:16:36Z'
    },
    {
      description: 'This is a test collection!',
      descriptionHtml: 'This is a test collection!',
      handle: 'seven-collection',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MDc0Mzk5NDUyNA==',
      image: [Object],
      title: 'Seven Collection',
      type: [Object],
      updatedAt: '2021-08-25T14:42:52Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'frontpage',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI2NzI1NTU0NjAxMg==',
      image: null,
      title: 'Home page',
      type: [Object],
      updatedAt: '2021-06-23T15:27:21Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'spring',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDEwODcwMA==',
      image: null,
      title: 'spring',
      type: [Object],
      updatedAt: '2021-07-12T19:41:31Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'mens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDE0MTQ2OA==',
      image: null,
      title: 'mens',
      type: [Object],
      updatedAt: '2021-07-12T19:41:45Z'
    },
    {
      description: '',
      descriptionHtml: '',
      handle: 'womens',
      id: 'Z2lkOi8vc2hvcGlmeS9Db2xsZWN0aW9uLzI3MjQ4MDE3NDIzNg==',
      image: null,
      title: 'womens',
      type: [Object],
      updatedAt: '2021-07-12T19:41:57Z'
    }
  ]
}

I got some notifications a while back that my product and collection webhooks were failing. I just added webhooks back in for update, create, and delete of product and collection, but there are still issues where, for example, when I delete an item in a collection, my app is still trying to fetch it and is crashing when it returns undefined.

Maybe I don’t have my webhooks configured correctly?

Sorry, to clarify, tech stack is nextjs with builder and shopify store.