Project

General

Profile

Actions

Bug #18773

closed

API for node returns 500 for Unknown host in place of 404

Added by Matthew Frost over 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

https://rudder.uptic.eu/rudder/api/latest/nodes/fake-node-uuid?include=default

When searching for a fake node in Rudder via the api version 13 i either get:

response 500: "The node with ID 'fake-node-uuid' is not known on Rudder"

or

response 404: "Node with ID 'fake-node-uuid' was not found in Rudder"

I would expect only 404

Actions #1

Updated by Benoît PECCATTE over 2 years ago

  • Category set to API
  • Target version set to 6.2.13
Actions #2

Updated by François ARMAND about 2 years ago

  • Subject changed from API Issue Unknown host api version 13 to API for node returns 500 for Unknown host in place of 404
  • Status changed from New to Resolved

It seems that in 7.0, we are correctly returning 404. If not, would you mind providing reproduction steps ?

Actions

Also available in: Atom PDF