Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error code examples updated. #493

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions spec/VISSv2_Transport.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ <h2>Read</h2>
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"
}
</code></pre>
Expand Down Expand Up @@ -344,7 +344,7 @@ <h2>Authorized Read</h2>
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"
}
</code></pre>
Expand Down Expand Up @@ -382,7 +382,7 @@ <h2>Search Read</h2>
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"
}
</code></pre>
Expand Down Expand Up @@ -503,7 +503,7 @@ <h2>Update</h2>
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"
}
</code></pre>
Expand Down Expand Up @@ -706,7 +706,7 @@ <h2>Read</h2>
{
"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"
}
</code></pre>
Expand Down Expand Up @@ -906,7 +906,7 @@ <h2>Update</h2>
{
"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"
}
</code></pre>
Expand Down Expand Up @@ -1055,7 +1055,7 @@ <h2>Subscribe</h2>
{
"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"
}
</code></pre>
Expand Down Expand Up @@ -1319,7 +1319,7 @@ <h2>Unsubscribe</h2>
{
"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"
}
</code></pre>
Expand Down
Loading