# Sections API is sometimes returning null

**URL:** <https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219>\
**Category:** Shopify App Store\
**Tags:** app-store\
**Created:** [October 29, 2026, 11:38pm UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219 "2026-10-29T23:38:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James\_Wilson](https://community.shopify.dev/u/James_Wilson)\
**Post date:** [October 29, 2026, 11:38pm UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/1 "2026-10-29T23:38:08Z")

</div>

In the last 30 minutes the sections value in the cart ajax response has started return null about 50% of time. There have been no changes to the section that is being requested. The request completes when doing a cart ajax request and the cart is mutated correctly but the section value in the response is just null

---

<div class="post-metadata">

**Author:** ![James\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James\_Wilson](https://community.shopify.dev/u/James_Wilson)\
**Post date:** [October 30, 2026, 12:18am UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/2 "2026-10-30T00:18:04Z")

</div>

Issue has been escalated by shopify support:

Just to recap: you reported intermittent null responses from the Section Rendering API in your cart AJAX requests, affecting multiple stores using your app at around 50% of requests. We traced the failures to an internal 302 redirect error and escalated to our Front End Developer Support team with all the request IDs and store details. They’ll follow up with you via email. Thanks for your patience and for providing all that detail, it really helped us get to the right team quickly.

---

<div class="post-metadata">

**Author:** ![James\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James\_Wilson](https://community.shopify.dev/u/James_Wilson)\
**Post date:** [October 30, 2026, 2:29am UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/3 "2026-10-30T02:29:24Z")

</div>

After adding some logging to record when the section is null in the cart ajax response it seems to be happening in spikes instead of consistently. Below is a chart of the error logs over the last hour.

 ![Screenshot 2026-10-30 at 1.15.51 PM](https://global.discourse-cdn.com/shopifycommunity/original/3X/7/c/7ca6623cac7e3d8e629c2dfd7973e57225a2f13e.png)

The number of stores its effecting seems to be increasing over time as well. It has doubled in the last 30 minutes

---

<div class="post-metadata">

**Author:** ![James\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James\_Wilson](https://community.shopify.dev/u/James_Wilson)\
**Post date:** [October 30, 2026, 4:50am UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/4 "2026-10-30T04:50:49Z")

</div>

Update from Shopify: Cart updates are succeeding. The failure is in the step where Shopify renders the requested sections after the cart changes. In every failing request you sent, the store was being viewed through a theme preview session. In that case, the section render can be redirected internally and come back empty. Shopify still returns HTTP 200, but with `sections: null`. Whether a given request is affected depends on how each request is handled internally, which is why you saw it only some of the time.

Shoppers browsing the live, published theme don’t go through this preview path, and in the period we reviewed we found no shopper traffic affected on the stores you mentioned. We’ve passed this to our engineering team so the section render handles this case properly.

---

<div class="post-metadata">

**Author:** ![GeoffJacksonAJP](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/geoffjacksonajp/32/8998_2.png) [@GeoffJacksonAJP](https://community.shopify.dev/u/GeoffJacksonAJP)\
**Post date:** [October 30, 2026, 1:02pm UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/5 "2026-10-30T13:02:35Z")

</div>

We just identified this exact bug as well which threw an error when trying to add to cart on our live store.

The `/cart/add` request was returning HTTP 200 and successfully adding the product, but the response contained `sections: null`, causing our custom cart drawer to throw a JavaScript error when attempting to render the missing sections.

We confirmed the same behaviour with `/cart/update.js`, while requesting the sections independently via GET returned the expected HTML.

I’ve implemented a temporary workaround in `product-form.js` that detects missing bundled sections, retrieves them separately using the Section Rendering API, and merges them back into the response before rendering the cart drawer.

This has resolved the issue in our testing, but it certainly appears to be a Shopify-side regression rather than a theme issue.

---

<div class="post-metadata">

**Author:** ![James\_Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James\_Wilson](https://community.shopify.dev/u/James_Wilson)\
**Post date:** [November 17, 2026, 10:12am UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/6 "2026-11-17T10:12:47Z")

</div>

This error seems to have returned today in the last 12 hours. Here is a chart of our logs. We have had 21.3K errors reported in that time period

 ![Screenshot 2026-11-17 at 9.07.20 PM](https://global.discourse-cdn.com/shopifycommunity/original/3X/7/6/76fe37d824493add5c341fadd685e42afefa023e.png)

Can we please get someone at Shopify to resolve this regression?

---

<div class="post-metadata">

**Author:** ![KyleG-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/kyleg-shopify/32/6799_2.png) [@KyleG-Shopify](https://community.shopify.dev/u/KyleG-Shopify)\
**Post date:** [November 19, 2026, 8:10pm UTC](https://community.shopify.dev/t/sections-api-is-sometimes-returning-null/39219/7 "2026-11-19T20:10:57Z")

</div>

Hey @James_Wilson I can see it’s been a couple of days since your reply here. Are you still seeing this regression today?
