Preskoči na sadržaj

List API errors

GET
/jades/errors
curl --request GET \
--url https://api.test.certilia.com/jades/errors \
--header 'Authorization: Bearer <token>'

Returns all errors the API can return: type, code, public name and descriptions in English (EN) and Croatian (HR).

The codes in the list have no API prefix: error 111 in the list is B111 in a JAdES error response (error.code).

All API errors.

Media typeapplication/json

List of all API errors.

object
version

Version of the error list.

string
nullable
note

Note.

string
nullable
platform

Platform.

string
nullable
codePrefix

API code, the first character of every error code this API returns (B for JAdES).

string
nullable
codeExplanation

Explanation of the error code structure.

string
nullable
sampleErrorMessages

Sample error responses as objects. Currently empty; see sampleErrorMessagesString.

Array<object>
nullable

Error response.

object
error

Error details.

object
traceId

Trace identifier. Send it to support when you report a problem.

string
nullable
type

Error type, the group the error belongs to.

string
nullable
code

Error code. Structure: the first character identifies the API (B for JAdES), the remaining characters are the error number. Example: B111 is error 111 of the JAdES web API.

string
nullable
status

HTTP status code.

integer format: int32
message

Public error name.

string
nullable
description

Localised error description, in Croatian or English. The language is set on the server; the default is Croatian (HR).

string
nullable
info

Additional information about the error.

string
nullable
language

Language of description.

string
nullable
name

Public error name, the same as message (kept for compatibility).

string
nullable
sampleErrorMessagesString

Sample error responses as text, one string per sample.

Array<string>
nullable
Errors

All errors of the API.

Array<object>
nullable

One API error.

object
code

Error number, without the API prefix: 111 here is B111 in a JAdES error response (error.code).

string
nullable
type

Error type, the group the error belongs to.

string
nullable
name

Public error name (the same as error.message in an error response).

string
nullable
description

The error description in English (EN) and Croatian (HR).

Array<object>
nullable

The error description in one language.

object
description

Error description.

string
language

Language of the description, EN or HR.

string

Example

{
"version": "JAdES-AllInOne,11/15/2026 19:53:14",
"note": "For JAdES",
"platform": "Certilia",
"codePrefix": "B",
"codeExplanation": "Code = B5 => First digit (B) of code is instance prefix, remainder (5) is actual error code.",
"sampleErrorMessages": [],
"sampleErrorMessagesString": [
"sample 01 => {'error':{'type':'HG_INVALID_REQUEST','code':'B5','message':'INVALID_PERSON_NAME_SURNAME','description':'Neispravno ime i prezime osobe.'}}"
],
"Errors": [
{
"code": "111",
"type": "HG_GENERAL_ERROR",
"name": "POSTSIGN_BUILD_ERROR",
"description": [
{
"description": "PostSign error.",
"language": "EN"
},
{
"description": "Greška kod pripreme PostSign datoteke.",
"language": "HR"
}
]
}
]
}