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

[ERROR]: Cannot create template: 404 ({"type":"NotFoundError","message":"CaseTemplate not found"}) #55

Open
pelaohcx opened this issue Nov 4, 2024 · 0 comments
Labels
question Further information is requested

Comments

@pelaohcx
Copy link

pelaohcx commented Nov 4, 2024

Work environment

Question Answer
OS version (server)
OS version (client) Ubuntu 22.04.5
Python version Python 3.10.12
Type of email address used Gmail
Mail client type & version Gmail.
Browser type & version Chrome Versión 130.0.6723.70 (Build oficial) (64 bits)
Virtualized Env. True
Dedicated RAM 16 GB
vCPU 4
ThePhish version
TheHive version
Cortex version
MISP version
Installed using Docker and Docker Compose True
Docker Version Docker version 27.3.1, build ce12230
Docker Compose version Docker-compose version 1.29.2

when I scan an email I get the following error

[ERROR][case_from_email]: Cannot create template: 404 ({“type”: “NotFoundError”, “message”: “CaseTemplate not found”})
[ERROR]
[thephish_app]: Exception in /analysis [POST].
Traceback (last most recent call):
File “/opt/ThePhish/app/venv/lib/python3.10/site-packages/flask/app.py”, line 2070, in wsgi_app
response = self.full_dispatch_request()
File “/opt/ThePhish/app/venv/lib/python3.10/site-packages/flask/app.py”, line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/opt/ThePhish/app/venv/lib/python3.10/site-packages/flask/app.py”, line 1513, in full_dispatch_request
rv = self.dispatch_request()
File “/opt/ThePhish/app/venv/lib/python3.10/site-packages/flask/app.py”, line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File “/opt/ThePhish/app/thephish_app.py”, line 40, in analyze_email
verdict = run_analysis.main(wsl, new_case_id, external_from_field)
File “/opt/ThePhish/app/run_analysis.py”, line 558, in main
tasks = api_thehive.get_case_tasks(case.json()['id']).json()
AttributeError: 'NoneType' object has no attribute 'json'.

image

image

@pelaohcx pelaohcx added the question Further information is requested label Nov 4, 2024
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

1 participant