Skip to content

image.create_labels() 500 Error #42

Open

Description

@wassimea

Running image.create_labels() causes an error. This same code was working a couple of weeks ago.

requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.hasty.ai/v1/projects/48bdf4a4-5932-4c8c-8017-122eebbfe11e/images/a86354a3-96de-467b-8a58-eccc5426fa1e/labels

Activity

  1. stastatun commented on May 29, 2024

    @stastatun

    Had the same issue. Workaround was to manually set z_index to zero for each label, instead of using the default None in Label._batch_create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions