The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Creating Folder using GraphQL Api

Fahad | Last updated: May 31, 2022 06:25PM UTC

I'm having a trouble creating a folder using the graphql api, I'm using the following query : mutation CreateFolder($input: { "name": "Folder1", "parent_id": "0" }!) { create_folder(input: $input) { folder { id name parent_id } } } but I get the error {'errors': [{'message': "Invalid Syntax : offending token '{' at line 2 column 31", 'extensions': {'code': 77}}]} I know this error is caused by an invalid query and I can't seem to get it right.

Fahad | Last updated: Jun 01, 2022 05:48AM UTC

I fixed it, The problem was my lack of knowledge of graphql. mutation { create_folder(input: { name: "{NAME}", parent_id: "{PARENT_ID}" }) { folder { id name parent_id } } }

Michelle, PortSwigger Agent | Last updated: Jun 01, 2022 10:02AM UTC