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

unmarshal error #1018

Closed
rext49612 opened this issue Mar 1, 2024 · 6 comments
Closed

unmarshal error #1018

rext49612 opened this issue Mar 1, 2024 · 6 comments

Comments

@rext49612
Copy link

rext49612 commented Mar 1, 2024

#1008 ERROR OUTPUT with ini format#
Failed to load the configuration file: error mapping configuration settings to internal values: yaml: unmarshal errors:
line 32: cannot unmarshal !!seq into config.Config

#datasource.yaml ERROR
Unable to read the context after specifying with -config flag , tried in docker still unable to read the file even filetype too.

literally no way to specify config file

#Need attention
Regards @rext49612

@prasgop
Copy link

prasgop commented Mar 26, 2024

similar error:
Failed to load the configuration file: error mapping configuration settings to internal values: yaml: line 23: did not find expected key

@The-Inceptions
Copy link
Member

@prasgop @rext49612 can you provide your configuration file? and what version of amass are you running?

@prasgop
Copy link

prasgop commented Mar 30, 2024

version 4.2.0.
It was throwing error when I initially tried to use the example congif.yaml by uncommenting api sources fields after adding respective keys. I later used oam_i2y to create config and datasources.yaml (new files attached) from config.ini, and it worked.
config.txt
Now, I am able to run amass. Just that it's runtime is kind of unpredictable. And, I am using oam_subs after running amass to get subdomains as a separate list.

@The-Inceptions
Copy link
Member

The-Inceptions commented Apr 1, 2024

@prasgop as I look into this, I would advise you to redact your API keys in the datasources file.

@prasgop
Copy link

prasgop commented Apr 1, 2024

oh yes, I should have. I have removed it now as it's anyway not adding any additional info to the context here.

@The-Inceptions
Copy link
Member

@rext49612 Would you be willing to provide a redacted version of your datasources.yaml and your config.yaml?

@caffix caffix closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants