Project

General

Profile

Actions

Bug #21571

open

Misleading error message in autosign

Added by Roger MÃ¥rtensson over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

POST /api/smart_proxies/:smart_proxy_id/autosign

When using this API with the wrong :smart_proxy_id the error message is misleading.

When using this: https://server/api/smart_proxies/wrongid/autosign'
with payload: { "id": "testing" }

I get the error message: {
"error": {"message":"Resource autosign not found by id 'testing'"}
}

Should the id in the error message be 'wrongid'?

No data to display

Actions

Also available in: Atom PDF