Skip to content

graphqls file with at least 15000 tokens - What is config to fix  #759

Closed

Description

@dineshawa

I am using graphql-java-tool 13.0.3 and getting error "More then 15000 grammar tokens have been presented" How to increase more then 1500 in springboot config or Code . Please suggest .

Activity

  1. dineshawa commented on Aug 17, 2023

    @dineshawa
    Author

    Error : Invalid Syntax : More than 15000 grammar tokens have been presented. To prevent Denial Of Service attacks, parsing has been cancelled. offending token '' at line 1 column 179655
    I am looking soltion how to incease token size from config or code.

  2. dineshawa commented on Aug 17, 2023

    @dineshawa
    Author

    Using latest jar :
    implementation ('com.graphql-java-kickstart:graphql-java-tools'){
    version {
    strictly "13.0.3"
    }
    }

  3. oryan-block commented on Aug 18, 2023

    @oryan-block
    Collaborator

    This is not related to graphql-java-tools. Please refer to graphql-java/graphql-java#2549

  4. dineshawa commented on Aug 18, 2023

    @dineshawa
    Author

    I need to allow more then 15000 tokens but not seeing any option to change in config or code for com.graphql-java-kickstart:graphql-java-tools @oryan-block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions