From 299fc845702b0b48f696beca8773fb8a82bdc2cc Mon Sep 17 00:00:00 2001 From: Ulf Bjorkengren Date: Fri, 9 Feb 2024 09:55:30 +0100 Subject: [PATCH] Error code examples updated. Signed-off-by: Ulf Bjorkengren --- spec/VISSv2_Transport.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spec/VISSv2_Transport.html b/spec/VISSv2_Transport.html index 1203a7c..c011996 100644 --- a/spec/VISSv2_Transport.html +++ b/spec/VISSv2_Transport.html @@ -301,7 +301,7 @@

Read

Content-Type: application/json; charset=utf-8 ... { - "error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."}, + "error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."}, "ts": "2020-04-15T13:37:00Z" } @@ -344,7 +344,7 @@

Authorized Read

Content-Type: application/json; charset=utf-8 ... { - "error": {"number": 401, "reason": "token_invalid", "message": "Access token is invalid."}, + "error": {"number": 401, "reason": "invalid_token", "message": "Access token is invalid."}, "ts": "2020-04-15T13:37:00Z" } @@ -382,7 +382,7 @@

Search Read

Content-Type: application/json; charset=utf-8 ... { - "error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."}, + "error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."}, "ts": "2020-04-15T13:37:00Z" } @@ -503,7 +503,7 @@

Update

Content-Type: application/json; charset=utf-8 ... { - "error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."}, + "error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."}, "ts": "2020-04-15T13:37:00Z" } @@ -706,7 +706,7 @@

Read

{ "action": "get", "requestId": "8756", - "error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."}, + "error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."}, "ts": "2020-04-15T13:37:00Z" } @@ -906,7 +906,7 @@

Update

{ "action": "set", "requestId": "5687", - "error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."}, + "error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."}, "ts": "2020-04-15T13:37:00Z" } @@ -1055,7 +1055,7 @@

Subscribe

{ "action": "subscribe", "requestId": "6578", - "error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."}, + "error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."}, "ts": "2020-04-15T13:37:00Z" } @@ -1319,7 +1319,7 @@

Unsubscribe

{ "action": "unsubscribe", "requestId": "6578", - "error": {"number": 404, "reason": "invalid_subscriptionId", "message": "The specified subscription was not found"}, + "error": {"number": 400, "reason": "invalid_data", "message": "Data present in the request is invalid."}, "ts": "2020-04-15T13:37:00Z" }