Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'data" #39

Open
BartekSmalec opened this issue Jan 21, 2022 · 1 comment
Open

KeyError: 'data" #39

BartekSmalec opened this issue Jan 21, 2022 · 1 comment
Labels
question Further information is requested

Comments

@BartekSmalec
Copy link

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 ?

@mo-at-dave
Copy link

I'm also seeing this

@swisskyrepo swisskyrepo added the question Further information is requested label Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants