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

Fail to execute engine pagination #743

Open
aineps opened this issue Oct 3, 2024 · 1 comment
Open

Fail to execute engine pagination #743

aineps opened this issue Oct 3, 2024 · 1 comment
Labels
bug use for describing something not working as expected needs more info use to identify issue needing additional info to be triaged or solved

Comments

@aineps
Copy link

aineps commented Oct 3, 2024

Description

When using the list functions with parameters, for example:

    filters={
        "mode": "and",
        "filters": [
            {"key": "relationship_type", "values": ["related-to"]},
            {"key": "fromTypes", "values": ["Organization", "Individual"]},
            {"key": "toTypes", "values": ["Channel"]},
        ],
        "filterGroups": [],
    },
    # getAll=True
)

the following error occurs: ValueError: {'name': 'DATABASE_ERROR', 'error_message': 'Fail to execute engine pagination'}.

This happens with or without the getAll parameter, and with other simpler requests (for example: opencti_client.identity.list(getAll=True)) but not if there are no parameters at all. This error only started after updating to 6.3.1.

Environment

OpenCTI version: 6.3.4
pyCTI version: 6.3.4

@aineps aineps added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Oct 3, 2024
@romain-filigran
Copy link
Member

Hello @aineps : I wasn't able to reproduce your problem with version 6.3.5 of PYCTI. This type of error is generally related to an error with elasticSearch. Can you have a look into elasticsearch logs when this error occur ?

@romain-filigran romain-filigran added needs more info use to identify issue needing additional info to be triaged or solved and removed needs triage use to identify issue needing triage from Filigran Product team labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected needs more info use to identify issue needing additional info to be triaged or solved
Projects
None yet
Development

No branches or pull requests

2 participants