# 订阅出现500错误的问题

**URL:** <https://meta.discourse.org/t/problem-with-500-error-with-subscriptions/360808>\
**Category:** Support\
**Tags:** subscriptions\
**Created:** [2025年四月7日 21:28 UTC](https://meta.discourse.org/t/problem-with-500-error-with-subscriptions/360808 "2025-04-07T21:28:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [2025年四月10日 13:36 UTC](https://meta.discourse.org/t/problem-with-500-error-with-subscriptions/360808/9 "2025-04-10T13:36:31Z")

</div>

> [@blake](#):
>
> 我还会添加一些分页，以便我们下次遇到这种情况时可以全部获取。

这是修复方法：

> <https://github.com/discourse/discourse-subscriptions/pull/272>
>
> When pulling up a users subscriptions a 500 might occur if we don't find
> their …plan. If your account happens to have over 100 plans this can be
> the cause of the 500 error. This change adds pagination when fetching
> plans form stripe, so that we fetch them all.
> 
> https://meta.discourse.org/t/problem-with-500-error-with-subscriptions/360808?u=blake

---

_[View the full topic](https://meta.discourse.org/t/problem-with-500-error-with-subscriptions/360808)._
