Project

General

Profile

Actions

Bug #15916

closed

[controller] POST /arvados/v1/collections/ (with extra trailing slash) returns 404

Added by Peter Amstutz over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
-

Description

Attempting to create a collection by POST to /arvados/v1/collections/ responds with a 404 with {"errors":["API endpoint not found"]}

Can be reproduced by attempting to upload a file on workbench2.c97qk.arvadosapi.com


Related issues

Related to Arvados - Bug #15921: [Workbench2] Remove spurious trailing slash from API endpointsResolvedLucas Di Pentima12/10/2019Actions
Actions #1

Updated by Peter Amstutz over 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
  • Status changed from In Progress to New
Actions #3

Updated by Tom Clegg over 4 years ago

Should this be treated as a workbench2 bug? I don't think we advertise or document such an endpoint (with a trailing slash) anywhere -- it seems like a workbench2 error that used to be magically fixed by Rails.

Actions #4

Updated by Peter Amstutz over 4 years ago

Tom Clegg wrote:

Should this be treated as a workbench2 bug? I don't think we advertise or document such an endpoint (with a trailing slash) anywhere -- it seems like a workbench2 error that used to be magically fixed by Rails.

Personally I think controller should accept it and strip the trailing slash, since we don't know what else out there could be relying on this behavior. Otherwise we have to review all the client code to verify that it doesn't happen anywhere else.

Actions #5

Updated by Tom Clegg over 4 years ago

  • Related to Bug #15921: [Workbench2] Remove spurious trailing slash from API endpoints added
Actions #6

Updated by Tom Clegg over 4 years ago

  • Subject changed from [controller] Can't create collection with EnableBetaController14287: true to [controller] POST /arvados/v1/collections/ (with extra trailing slash) returns 404
Actions #7

Updated by Peter Amstutz over 4 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF