Project

General

Profile

Actions

Bug #15056

closed

Error on requests with large query in URL

Added by Peter Amstutz almost 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-
Release relationship:
Auto

Description

GET requests embed the filters in the "query" portion of the URL. However, when filters get very large (such as requesting a large number of specific uuids, such as when requesting details about child containers) the URL can exceed the server's limit on URL length, causing the request to fail.

To work around this, the API server support queries using POST. The query goes in the body of the request (application/x-www-form-urlencoded), with an added query parameter "_method=GET" so it will be processed as a GET request. This is documented here:

https://doc.arvados.org/api/requests.html

In addition, queries on large numbers of uuids can be broken up into batches (this may also provide a better user experience by showing loading progress sooner).

Actions #1

Updated by Peter Amstutz almost 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz almost 5 years ago

  • Description updated (diff)
  • Status changed from In Progress to New
  • Subject changed from Error on requests with query portion in URI to Error on requests with large query in URL
Actions #3

Updated by Peter Amstutz almost 5 years ago

  • Description updated (diff)
Actions #4

Updated by Chrystian Klingenberg almost 5 years ago

  • Target version set to Backlog Q1, Q2
Actions #5

Updated by Chrystian Klingenberg almost 5 years ago

  • Target version deleted (Backlog Q1, Q2)
  • Release set to 20
Actions #6

Updated by Chrystian Klingenberg almost 5 years ago

  • Release deleted (20)
Actions #7

Updated by Chrystian Klingenberg almost 5 years ago

  • Target version set to Backlog Q1, Q2
Actions #8

Updated by Chrystian Klingenberg almost 5 years ago

  • Target version changed from Backlog Q1, Q2 to Workbench2 Q3, Q4
Actions #9

Updated by Chrystian Klingenberg almost 5 years ago

  • Target version deleted (Workbench2 Q3, Q4)
  • Release set to 19
Actions #10

Updated by Chrystian Klingenberg almost 5 years ago

  • Status changed from New to In Progress
Actions #11

Updated by Peter Amstutz about 4 years ago

  • Release changed from 19 to 20
Actions #12

Updated by Peter Amstutz about 4 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF