# InvalidTextRepresentation: FEHLER beim Versuch des Upgrades

**URL:** <https://meta.discourse.org/t/invalidtextrepresentation-error-when-trying-to-upgrade/113592>\
**Category:** Product Support\
**Created:** [5. April 2019 um 23:56 UTC](https://meta.discourse.org/t/invalidtextrepresentation-error-when-trying-to-upgrade/113592 "2019-04-05T23:56:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![depeters](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/depeters/32/137579_2.png) [@depeters](https://meta.discourse.org/u/depeters)\
**Post date:** [5. April 2019 um 23:56 UTC](https://meta.discourse.org/t/invalidtextrepresentation-error-when-trying-to-upgrade/113592/1 "2019-04-05T23:56:09Z")

</div>

I just tried to update and it is failing. Help please!

Caused by:

```plaintext
PG::InvalidTextRepresentation: ERROR: invalid input syntax for integer: "Item Comments"
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.0.2/lib/patches/db/pg.rb:110:in `async_exec'

ActiveRecord::StatementInvalid: PG::InvalidTextRepresentation: ERROR: invalid input syntax for integer: "Item Comments"
: INSERT INTO reviewables (
  type,
  status,
  created_by_id,
  reviewable_by_moderator,
  topic_id,
  category_id,
  payload,
  created_at,
  updated_at
)
SELECT 'ReviewableQueuedPost',
  state - 1,
  user_id,
  true,
  topic_id,
  nullif(post_options->>'category', '')::int,
  json_build_object(
    'old_queued_post_id', id,
    'raw', raw
  )::jsonb || post_options::jsonb,
  created_at,
  updated_at
FROM queued_posts

```

---

_[View the full topic](https://meta.discourse.org/t/invalidtextrepresentation-error-when-trying-to-upgrade/113592)._
