GraphQLmap icon indicating copy to clipboard operation
GraphQLmap copied to clipboard

KeyError: 'data"

Open BartekSmalec opened this issue 3 years ago • 1 comments

Hey, what may be a reason of this kind of error ? `bartek@ubuntu:~/Programs/GraphQLmap$ graphqlmap -u https://****.com/gateway?query={}


/ | | | / __ | |
| | __ _ __ __ _ _ __ | |
| | | | | _ __ ___ __ _ _ __
| | |
| '/ _| '_ \| '_ \| | | | | | '_ _ \ / ` | ' \ | || | | | (
| | |) | | | | |__| | || | | | | | (| | |) | _|| _,| ./|| ||______|| || ||_,_| ./ | | | |
|| ||
Author: @pentest_swissky Version: 1.0 GraphQLmap > dump_via_introspection ============= [SCHEMA] =============== e.g: name[Type]: arg (Type!)

Traceback (most recent call last): File "/usr/local/bin/graphqlmap", line 4, in import('pkg_resources').run_script('graphqlmap==0.0.1', 'graphqlmap') File "/home/bartek/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 656, in run_script self.require(requires)[0].run_script(script_name, ns) File "/home/bartek/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1460, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python3.8/dist-packages/graphqlmap-0.0.1-py3.8.egg/EGG-INFO/scripts/graphqlmap", line 81, in File "/usr/local/lib/python3.8/dist-packages/graphqlmap-0.0.1-py3.8.egg/EGG-INFO/scripts/graphqlmap", line 56, in init File "/usr/local/lib/python3.8/dist-packages/graphqlmap-0.0.1-py3.8.egg/graphqlmap/attacks.py", line 39, in dump_schema KeyError: 'data' ` I've got this error using dump_via_fragment and dump_via_introspection on two different endpoint. Configuration of the endpoints my be the reason ?

BartekSmalec avatar Jan 21 '22 18:01 BartekSmalec

I'm also seeing this

mo-at-dave avatar Apr 06 '22 23:04 mo-at-dave