Skip to content

Tasks API failing with 8.17.1 (but not 8.15.2) #2765

@untergeek

Description

@untergeek

Problem call:

        taskid = 'um92aFeET6uhTTztmds6QQ:1548121'
        response = None
        try:
            response = client.tasks.get(task_id=taskid)
        except Exception as err:
            msg = (
                f'Unable to obtain task information for task_id "{taskid}". '
                f'Response: {response} -- '
                f'Exception: {err}'
            )
            raise ValueError(msg) from err

This call works fine in 8.15.2. But attempting the same in 8.17.1 raises an unknown exception and warning:

Unable to obtain task information for task_id "um92aFeET6uhTTztmds6QQ:1548121". Response:
None -- Exception:
GeneralAvailabilityWarning('This API is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.')

Not sure what's going on, but something that was working no longer is. Affected versions may include any between 8.15.2 and 8.17.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions