Skip to content

An error occurred: save data failed: allocated size is greater than max storage size #16

@Rajendrazepto

Description

@Rajendrazepto

Problem:
Getting below error for an new slack message event received.

Error:
An error occurred: save data failed: allocated size is greater than max storage size Traceback (most recent call last): File "/app/storage/cwd/solaoi/slack-thread-bot-0.0.5@a8ac7d3e711b86e6bd5fa08b52e9308efac7d10612eed800ea368f683cb07095/endpoints/slack.py", line 546, in _invoke self.session.storage.set( File "/app/storage/cwd/solaoi/slack-thread-bot-0.0.5@a8ac7d3e711b86e6bd5fa08b52e9308efac7d10612eed800ea368f683cb07095/.venv/lib/python3.12/site-packages/dify_plugin/invocations/storage.py", line 23, in set for data in self._backwards_invoke( File "/app/storage/cwd/solaoi/slack-thread-bot-0.0.5@a8ac7d3e711b86e6bd5fa08b52e9308efac7d10612eed800ea368f683cb07095/.venv/lib/python3.12/site-packages/dify_plugin/core/runtime.py", line 315, in _full_duplex_backwards_invoke yield from self._line_converter_wrapper(reader.read(timeout_for_round=1), data_type) File "/app/storage/cwd/solaoi/slack-thread-bot-0.0.5@a8ac7d3e711b86e6bd5fa08b52e9308efac7d10612eed800ea368f683cb07095/.venv/lib/python3.12/site-packages/dify_plugin/core/runtime.py", line 217, in _line_converter_wrapper raise Exception(event.message) Exception: save data failed: allocated size is greater than max storage size

How to reproduce?
Send bulk slack message events to slack-thread-bot endpoint/plugin, after some time it will lead to above error as the It reach the max storage limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions