# Posts too long for PostSentimentAnalysis

**URL:** <https://meta.discourse.org/t/posts-too-long-for-postsentimentanalysis/326532>\
**Category:** Product Support\
**Tags:** ai\
**Created:** [September 14, 2024, 11:00pm UTC](https://meta.discourse.org/t/posts-too-long-for-postsentimentanalysis/326532 "2024-09-14T23:00:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**Post date:** [September 14, 2024, 11:00pm UTC](https://meta.discourse.org/t/posts-too-long-for-postsentimentanalysis/326532/1 "2024-09-14T23:00:31Z")

</div>

After enabling sentiment analysis using OpenAI, my error log is filled with

```plaintext
Job exception: Net::HTTPBadResponse

```

Then in Sidekiq:

```plaintext
Jobs::PostSentimentAnalysis
Jobs::HandledExceptionWrapper: Wrapped Net::HTTPBadResponse: Net::HTTPBadResponse

```

Looking at the post\_ids in question, it seems the issue is likely caused by the unusually long posts. Otherwise, the sentiment graphs generate without any problems.

---

_[View the full topic](https://meta.discourse.org/t/posts-too-long-for-postsentimentanalysis/326532)._
