Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Label annotations are wrong in the data upload API

See original GitHub issue

How to reproduce the behaviour

Annotated label information was incorrect after multiple calls to data upload API via doccano-client.


  • post data upload API: post /v1/projects/{project_id}/upload
  • get spans API: GET /v1/projects/6/examples/{example_id}/spans
  • get span-types API: GET /v1/projects/{project_id}/span-types

get spans API’s response example:

    created_at: "2022-02-25T09:01:34.992298Z"
    end_offset: 5
    example: 2263
    id: 2371
    label: 2470
    prob: 0
    start_offset: 3
    updated_at: "2022-02-25T09:01:34.992336Z"
    user: 1


  • label: 2470 but span-types list does not contain the id.

Your Environment

doccano v1.5.5

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

Hironsancommented, Mar 8, 2022

About 150.

youichirocommented, Mar 8, 2022

How about increasing the number of ranges?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import pre-annotated data into Label Studio
Import predicted labels, predictions, pre-annotations, or pre-labels into Label Studio for your data labeling, machine learning, and data science projects.
Read more >
Managing Annotation Mistakes with FiftyOne and Labelbox
Find annotation mistakes in your image datasets with FiftyOne and fix them ... This is the only way to upload existing labels to...
Read more >
Import annotations - Labelbox Docs
Labelbox offers several ways to import annotations and attach them to assets in Labelbox. To import annotations to a labeling project, you can...
Read more >
Category Annotations - Nucleus
In this guide, we'll use the Python SDK to construct category annotations for ... A category annotation object in Nucleus has four components:...
Read more >
tagtog · The Text Annotation Tool to Train AI
Augment your data: label documents, annotate text, relations, etc. ... 2Train a model: import text (cloud or on-premises) through the API or the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found