Skip to content
Discussion options

You must be logged in to vote

Your method didn’t work.
I eventually found the solution. It turns out the configuration differs between Dify Enterprise and the Community version.
I added the following environment variables under the api section in values.yaml:

api:  
    extraEnv:
      - name: CODE_MAX_STRING_ARRAY_LENGTH
        value: "10000"
      - name: CODE_MAX_OBJECT_ARRAY_LENGTH
        value: "10000"
      - name: CODE_MAX_NUMBER_ARRAY_LENGTH
        value: "10000"

After applying this configuration, the error no longer occurs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@finrod86921812
Comment options

@dosubot
Comment options

@finrod86921812
Comment options

Answer selected by finrod86921812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant