# Uncaught (in promise) error

**URL:** https://meta.discourse.org/t/uncaught-in-promise-error/385342
**Category:** Bug
**Tags:** events, needs-repro
**Created:** [October 11, 2025, 9:36pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342 "2025-10-11T21:36:15Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 11, 2025, 9:36pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/1 "2025-10-11T21:36:15Z")

</div>

### Description

After a recent Discourse rebuild (self-hosted), I am consistently encountering user-facing rate limiting when viewing the main Full Calendar Version 6, even though my site has very low activity (1–2 simultaneous users). This behavior started appearing after my last two rebuilds.

#### My rate limit configuration (as set in app.yml):

- `DISCOURSE_MAX_ADMIN_API_REQS_PER_MINUTE`: 4x default
- `DISCOURSE_MAX_REQS_PER_MINUTE`: 4x default
- `DISCOURSE_MAX_REQS_PER_DAY`: 4x default
- **No per-IP rate limit is specified.**

#### Observations

- No errors are shown in `/logs`.
- No reverse proxy is in use (standard Let’s Encrypt container and an A record on domain).
- Only calendar views seem to trigger this unexpected rate limiting.
- There have been no changes to user activity
- all plugins and theme components are official
- This started only after a recent Discourse rebuild. Continued after tonight’s rebuild
- Admin \> Logs are clean at time of incident.

#### Troubleshooting so far

- Confirmed the custom rate-limit settings are present and well above defaults.
- Tried multiple browsers, cleared caches.
- [meta.discourse.org topics](https://meta.discourse.org/t/available-settings-for-global-rate-limits-and-throttling/78612) suggest there may be additional undocumented internal rate limits overriding custom values after upgrades.

#### References

- [Available settings for global rate limits and throttling](https://meta.discourse.org/t/available-settings-for-global-rate-limits-and-throttling/78612)
- [I changed all the rate limits I could find, but still hit a limit somewhere](https://meta.discourse.org/t/i-changed-all-the-rate-limits-i-could-find-but-still-hit-a-limit-somewhere/244899)
- [How to avoid throttling limits with admin API key?](https://meta.discourse.org/t/how-to-avoid-throttling-limits-with-admin-api-key/274206)

* * *

### Request

Could you please:

1. Confirm if there are any new or hidden rate limiters that would affect background or plugin-generated requests after a recent update/rebuild, and if so, describe how to override or tune them.
2. Advise why my high custom rate limits are not being respected for the calendar view.
3. Suggest further troubleshooting or configuration changes, if any.

Thank you!

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 11, 2025, 9:53pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/2 "2025-10-11T21:53:09Z")

</div>

It looks like this could be related to [Re-add full ics export - #9 by kelv](https://meta.discourse.org/t/re-add-full-ics-export/230713/9) because 100 events seem to show, then after about 2 minutes can display another large batch, and they don’t appear gradually but in large chunks.

Edit: This rate-limited behaviour is manageable for now, but becomes apparent when advancing far; i can see all the events for my current week and all the events in the next, it’s if i then proceed to the next week i hit the hard limit.

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 11, 2025, 10:00pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/3 "2025-10-11T22:00:05Z")

</div>

I should also clarify that, the upcoming events full calendar v6 wasn’t rate limited to this extent, before i set the custom api throttle settings. These `app.yml` settings didn’t change the rate limiting visible on FullCalendar 😉

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [October 12, 2025, 4:44pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/4 "2025-10-12T16:44:29Z")

</div>

@kelv could you look at this please?

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 18, 2025, 6:06pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/8 "2025-10-18T18:06:46Z")

</div>

i can still repro this

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [October 18, 2025, 7:21pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/9 "2025-10-18T19:21:09Z")

</div>

We can’t repro this at all at the moment. Which commit are you on? How many events do you have?

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 18, 2025, 8:19pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/10 "2025-10-18T20:19:33Z")

</div>

> [@j.jaffeux](#):
>
> Which commit are you on?

Discourse [latest-release +369](https://github.com/discourse/discourse/commit/135417322404f457909ccbab054ef765cfbb7037)

Docker\_manager [3e5ec72d](https://github.com/discourse/docker_manager/commit/3e5ec72d5ea0cf22ff72dfdbb3621bca03861756)

Bbcode [633030d8](https://github.com/discourse/discourse-bbcode/commit/633030d8f7d9611305873c7fa8f47d499dc4e04c)

Categories suppressed [d5550658](https://github.com/discourse/discourse-categories-suppressed/commit/d5550658fc977a78a8e680c1e8e506f9fb28df5a)

Who’s online [3fe319b8](https://github.com/discourse/discourse-whos-online/commit/3fe319b82c9146b15743537d38fdff753c35dfdb)

> **Themes and Components**
>
> Default
> 
> * * *
> 
> [Category Banners]
> 
> Show banners on category pages using your existing category details. [Learn more](https://meta.discourse.org/t/discourse-category-banners/86241)
> 
> [Clickable Topic]
> 
> If you want to edit this theme, you must [submit a change on its repository](https://github.com/discourse/discourse-clickable-topic.git)
> 
> [Custom Header Links (icons)]
> 
> If you want to edit this theme, you must [submit a change on its repository](https://github.com/discourse/discourse-icon-header-links.git)
> 
> [Discourse Gifs]
> 
> If you want to edit this theme, you must [submit a change on its repository](https://github.com/discourse/discourse-gifs.git)
> 
> [Inline PDF Previews]
> 
> If you want to edit this theme, you must [submit a change on its repository](https://github.com/discourse/discourse-pdf-previews.git)
> 
> [Reader Mode]
> 
> If you want to edit this theme, you must [submit a change on its repository](https://github.com/discourse/reader-mode.git)

> [@j.jaffeux](#):
>
> How many events do you have?

44 next Week

none of the ~40 loading Week after

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 18, 2025, 8:34pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/11 "2025-10-18T20:34:49Z")

</div>

FullCalendar had started behaving itself, because i went back a few weeks and then went forward many weeks

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 24, 2025, 7:08pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/12 "2025-10-24T19:08:48Z")

</div>

> [@j.jaffeux](#):
>
> How many events do you have?

many, i think `MAX_RESULTS` has suppased its limit now after 27th September. I have to refresh Full Calendar to view my events each time i look

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [October 25, 2025, 10:03am UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/13 "2025-10-25T10:03:54Z")

</div>

Im sorry but I fail to follow you. Are you able to make a video of you navigating the calendar please?

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 25, 2025, 1:34pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/14 "2025-10-25T13:34:34Z")

</div>

on a PWA

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [October 28, 2025, 11:14am UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/15 "2025-10-28T11:14:31Z")

</div>

So where is the 429?

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 28, 2025, 1:28pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/16 "2025-10-28T13:28:21Z")

</div>

i don’t think it’s that kind of rate limit. When i mentioned API throttle settings, i really meant my Discourse is configured to handle many event topics, but FullCalendar view is not working as well as it used to before the [code was merged](https://meta.discourse.org/t/rate-limiting-on-upcoming-events-week-view-despite-high-custom-api-throttle-settings/385342/2)

Apologies for the confusion

Edit: i have edited the OP to reflect the lack of 429 errors

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [October 28, 2025, 6:00pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/17 "2025-10-28T18:00:10Z")

</div>



---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [November 1, 2025, 8:23am UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/18 "2025-11-01T08:23:27Z")

</div>

I am on the latest versions. From a UI perspective, this problem fixed itself overnight. I updated last night but problem didn’t fix itself immediately. The total number of events that have passed is about 270. I have now changed back to using PWA…

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [November 2, 2025, 10:22am UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/19 "2025-11-02T10:22:22Z")

</div>

my Discourse instance is up to date with `tests-passed`. I had a report from a seperate user of my instance yesterday that a future week view wasn’t loading all the events. Having already noticed that this error ceased to affect UI of the Current week view, i tried to pinpoint the error on my Laptop. Below is the video re-production;

the same “lack of events” in a future week, can be re-produced the same on my Smartphone

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [November 12, 2025, 9:39pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/20 "2025-11-12T21:39:41Z")

</div>

I’ve rebuilt and this issue continues to appear when moving from current week to the next week.

Were we able to diagnose what started to cause this?

* * *

perhaps i need to add a

> [@Re-add full ics export](https://meta.discourse.org/t/re-add-full-ics-export/230713/6):
>
> MAX\_RESULTS

somewhere in my app.yml

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [November 13, 2025, 6:33pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/21 "2025-11-13T18:33:33Z")

</div>

Update of Discourse by last 20 commits has fixed this bug

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [November 14, 2025, 8:40pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/22 "2025-11-14T20:40:20Z")

</div>

Haven’t updated, but this Bug has started happening again

Edit: went back into PWA and the bug isn’t happening

Edit2: still getting the error on my browser console on Laptop, didn’t check the calendar though

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [November 25, 2025, 1:33pm UTC](https://meta.discourse.org/t/uncaught-in-promise-error/385342/23 "2025-11-25T13:33:40Z")

</div>

i’m getting this error in browser console after about a minute of opening discourse, it deosn’t seem to have an effect on my upcoming events page. Refreshing the upcoming events page deosn’t reproduce the error, the error was found in loading homepage

[Next page](https://meta.discourse.org/t/uncaught-in-promise-error/385342.md?page=2)
