Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 137
    • Issues 137
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #735

Closed
Open
Opened Mar 25, 2025 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
  • New issue
Report abuse New issue

Frontend calls incorrect (legacy?) endpoint when importing TSV terms

I'm not really sure if this a recent regression, or something already present in the frontend, but while working on this backend ticket, I have tried importing some Terms from the usual UI:

Screenshot_2025-03-25_at_10.51.56

To my surprise, it looks like the frontend is calling this endpoint:

https://dev.sub.gargantext.org/api/v1.0/lists/188870/csv/add/form/async/

However, this endpoint doesn't exist anymore -- the only endpoint we support is /api/v1.0/lists/{listId}/tsv/add/form/async (as you can see from the swagger docs ).

Therefore, the backend would reject the request with a very unhelpful message:

Only GET or HEAD is supported

I think the solution is quite simple: the frontend should be amended to call the correct endpoint.

Self-assigning this to me as I'm working on the relevant backend issue already.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
To Review (review requested)
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#735