# Shopify app dev: "Error while polling app logs" loop

**URL:** <https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419>\
**Category:** Shopify CLI and Libraries\
**Tags:** app-commands, app-dev-on-localhost\
**Created:** [October 8, 2026, 2:01pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419 "2026-10-08T14:01:48Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![devfabri](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/devfabri/32/20985_2.png) [@devfabri](https://community.shopify.dev/u/devfabri)\
**Post date:** [October 8, 2026, 2:01pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/1 "2026-10-08T14:01:48Z")

</div>

### I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

### I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

### In which of these areas are you experiencing a problem?

App

### Expected behavior

`shopify app dev` streams Function logs in the `app-logs` panel.

### Actual behavior

The `app-logs` panel keeps failing and retrying every 5 seconds:

```auto
app-logs │ Error while polling app logs.
app-logs │ Retrying in 5 seconds.

```

`--verbose` shows the request but not the response. I temporarily patched the CLI to log it, and the poll endpoint returns:

```auto
400 {"errors":["Malformed JWT"]}

```

Other notes:

- Started arround Oct 7th
- It happens on two different apps in the same organization.
- A teammate reproduced it on a different computer and network, in the same organization.
- Re-authenticating (`shopify auth logout` + logging in again) did not help.
- It happens on CLI 4.8.5 and 4.7.1
- Network is fine: the request reaches `app.shopify.com`.
- The rest of the dev session (tunnel, HMR, app) works normally.

### Reproduction steps

1. Use an app with at least one Function extension.
2. Run `shopify app dev`.
3. Watch the `app-logs` panel.

### Verbose output

```auto
2026-10-07T18:28:06.349Z: Sending GET request to URL https://app.shopify.com/app_management/unstable/organizations/<org_id>/app_logs/poll
With request headers:
 - User-Agent: Shopify CLI; v=4.8.5
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json
15:28:06 │ app-logs │ Error while polling app logs.
15:28:06 │ app-logs │ Retrying in 5 seconds.

```

### Operating system

Zorin OS 18.1 (Ubuntu 24.04 based)

### CLI version

4.8.5 (also reproduced on 4.7.1)

### Shell

bash

### Nodejs version

v22.23.2

### What language and version are you using in your application?

TypeScript 5.9, React Router 7.12 (`@shopify/shopify-app-react-router`), Node 22

---

<div class="post-metadata">

**Author:** ![gunner](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@gunner](https://community.shopify.dev/u/gunner)\
**Post date:** [October 8, 2026, 4:58pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/2 "2026-10-08T16:58:04Z")

</div>

Same issue here. Only started in the last couple of days I think.

---

<div class="post-metadata">

**Author:** ![devfabri](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/devfabri/32/20985_2.png) [@devfabri](https://community.shopify.dev/u/devfabri)\
**Post date:** [October 8, 2026, 5:10pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/3 "2026-10-08T17:10:52Z")

</div>

I edited the original post to include this, for me it started yesterday arround 5pm UTC

---

<div class="post-metadata">

**Author:** ![meta14ever](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@meta14ever](https://community.shopify.dev/u/meta14ever)\
**Post date:** [October 9, 2026, 6:38am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/4 "2026-10-09T06:38:52Z")

</div>

Still the same:  
09:38:13 │ app-logs │ Error while polling app logs.  
09:38:13 │ app-logs │ Retrying in 5 seconds.  
09:38:18 │ app-logs │ Error while polling app logs.  
09:38:18 │ app-logs │ Retrying in 5 seconds.

---

<div class="post-metadata">

**Author:** ![mgtmn](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mgtmn](https://community.shopify.dev/u/mgtmn)\
**Post date:** [October 9, 2026, 8:16am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/5 "2026-10-09T08:16:58Z")

</div>

Observing the same for the past couple of days.

---

<div class="post-metadata">

**Author:** ![henrikmerchant](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/henrikmerchant/32/21581_2.png) [@henrikmerchant](https://community.shopify.dev/u/henrikmerchant)\
**Post date:** [October 9, 2026, 2:27pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/6 "2026-10-09T14:27:26Z")

</div>

Same issue here. Started happening a couple of days ago.

---

<div class="post-metadata">

**Author:** ![releod](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/releod/32/402_2.png) [@releod](https://community.shopify.dev/u/releod)\
**Post date:** [October 9, 2026, 2:45pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/7 "2026-10-09T14:45:59Z")

</div>

Hey @Liam-Shopify

Also seeing thousands of these logs spamming `shopify app dev` outputs. Started yesterday, but many more today.

```auto
10:43:36 │app-logs │ Error while polling app logs.
10:43:36 │app-logs │ Retrying in 5 seconds.
10:43:42 │app-logs │ Error while polling app logs.
10:43:42 │app-logs │ Retrying in 5 seconds.
10:43:47 │app-logs │ Error while polling app logs.
10:43:47 │app-logs │ Retrying in 5 seconds.

```

Same root cause error as the others reported:

```auto
400 {"errors":["Malformed JWT"]}

```

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 13, 2026, 1:56pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/8 "2026-10-13T13:56:50Z")

</div>

Thanks for the reports all, the relevant team are aware and are investigating the root cause. Either myself or a collegaue will follow up here once we have more information to share.

---

<div class="post-metadata">

**Author:** ![murgesh](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/murgesh/32/8291_2.png) [@murgesh](https://community.shopify.dev/u/murgesh)\
**Post date:** [October 14, 2026, 5:15am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/9 "2026-10-14T05:15:03Z")

</div>

Ya same here. I guess it started recently.

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 15, 2026, 6:44am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/10 "2026-10-15T06:44:54Z")

</div>

Quick update all: The team responsible for the app logs poll have identified the root cause and are working on a fix. I’ll update this thread again once its shipped. Thanks for your patience with this, much appreciated.

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 19, 2026, 8:41am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/11 "2026-10-19T08:41:35Z")

</div>

Hi all, another quick update since it’s been a few days. The fix for this is still in progress, but I don’t have an ETA to share. I’ll update again once it’s been deployed. Thanks for your continued patience on this!

---

<div class="post-metadata">

**Author:** ![gunner](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@gunner](https://community.shopify.dev/u/gunner)\
**Post date:** [October 21, 2026, 7:56am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/12 "2026-10-21T07:56:50Z")

</div>

@Donal-Shopify I’m surprised this one is taking so long. Apart from the endless errors being logged every 5 seconds, there are also no actual logs coming from functions, making development, testing and troubleshooting of functions on local machine very difficult. Can you provide a fresh update?

---

<div class="post-metadata">

**Author:** ![Benny\_Chan](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/benny_chan/32/10767_2.png) [@Benny\_Chan](https://community.shopify.dev/u/Benny_Chan)\
**Post date:** [October 22, 2026, 7:37am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/13 "2026-10-22T07:37:59Z")

</div>

The same here.

Also, the CLI keeps installing dependencies, and it doesn’t stop. Eventually, it uses up my computer’s resources and hangs

---

<div class="post-metadata">

**Author:** ![Aivis\_Zvezdovs](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Aivis\_Zvezdovs](https://community.shopify.dev/u/Aivis_Zvezdovs)\
**Post date:** [October 22, 2026, 8:55am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/14 "2026-10-22T08:55:22Z")

</div>

@Donal-Shopify any update on this? This is crucial time for BF/CM preparation, specifically for discount functions.

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 22, 2026, 11:04am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/15 "2026-10-22T11:04:54Z")

</div>

Thanks for the patience, everyone. I know it’s been quiet on this thread while you’re deep in BFCM prep.

The team identified the root cause, and the fix is in progress and moving through our deployment process. I don’t have a confirmed ETA yet. Either myself or a colleague will post here as soon as it’s live.

@Benny_Chan the loop where the CLI keeps installing dependencies until your machine hangs sounds like a separate issue from the app-logs polling error. Could you open a new topic with your CLI version, OS, package manager, and verbose output? We’ll look into that one on its own - thanks!

---

<div class="post-metadata">

**Author:** ![gunner](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@gunner](https://community.shopify.dev/u/gunner)\
**Post date:** [October 23, 2026, 7:06am UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/16 "2026-10-23T07:06:03Z")

</div>

This seems to be fixed now. It’s working as expected for me at least.

---

<div class="post-metadata">

**Author:** ![devfabri](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/devfabri/32/20985_2.png) [@devfabri](https://community.shopify.dev/u/devfabri)\
**Post date:** [October 27, 2026, 12:19pm UTC](https://community.shopify.dev/t/shopify-app-dev-error-while-polling-app-logs-loop/38419/17 "2026-10-27T12:19:04Z")

</div>

I can confirm that the problem was fixed (at least for me).

@Donal-Shopify can we have a confirmation to close this thread? 🙂
