# Failed Upgrade to 2.4.0.beta2

**URL:** <https://meta.discourse.org/t/failed-upgrade-to-2-4-0-beta2/124355>\
**Category:** Self-hosting\
**Created:** [July 30, 2019, 2:35am UTC](https://meta.discourse.org/t/failed-upgrade-to-2-4-0-beta2/124355 "2019-07-30T02:35:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [August 5, 2019, 7:39pm UTC](https://meta.discourse.org/t/failed-upgrade-to-2-4-0-beta2/124355/5 "2019-08-05T19:39:44Z")

</div>

> [@Jim.Morrison](#):
>
> > 2019-07-30 02:30:54.028 UTC [11272] discourse@discourse ERROR: invalid input syntax for integer: “[5205]”

Looks like it was broken by this PR from @angus

[https://github.com/discourse/discourse-oauth2-basic/pull/21](https://github.com/discourse/discourse-oauth2-basic/pull/21)

It expects the key `user_id` in the JSON of the plugin row to be an integer and not an array of integers.

---

_[View the full topic](https://meta.discourse.org/t/failed-upgrade-to-2-4-0-beta2/124355)._
