Not Found
When Frontier can’t find whatever you are requesting, it will return a not_found
error. This is similar to a “404 Not Found” error response in HTTP.
Incorrect URL path parameters or missing data are the common reasons for this error. If you navigate using a link from a valid response, you should never receive this error message.
Attributes
As with all errors Frontier returns, not_found
follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:
Attribute | Type | Description |
---|---|---|
Type | URL | The identifier for the error. This is a URL that can be visited in the browser. |
Title | String | A short title describing the error. |
Status | Number | An HTTP status code that maps to the error. |
Detail | String | A more detailed description of the error. |
Instance | String | A token that uniquely identifies this request. Allows server administrators to correlate a client report with server log files |
Example
$ curl -X GET "https://frontier.testnet.digitalbits.io/accounts/accountthatdoesntexist"
{
"type": "not_found",
"title": "Resource Missing",
"status": 404,
"detail": "The resource at the url requested was not found. This is usually occurs for one of two reasons: The url requested is not valid, or no data in our database could be found with the parameters provided.",
"instance": "node0.frontier.testnet.digitalbits.io/ngUFNhn76T-078058"
}
Related
Edit this doc in GitHub