Preskoči na sadržaj

List API errors

GET
/pades/errors
curl --request GET \
--url https://api.test.certilia.com/pades/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 5 in the list is 65 in a PAdES 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 (6 for PAdES).

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, if the response has one. 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. The first digit is the API code (6 for this API); the remaining digits are the error number. Example: 65 is error 5 of API 6.

string
nullable
status

HTTP status code.

integer format: int32
message

Public error name.

string
nullable
description

Error description, in Croatian. If a required field is missing from the request, type and code are empty, message is ERROR, and this field lists the missing fields in English (for example The Token field is required.).

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: 5 here is 65 in a PAdES 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": "PAdES-AllInOne,11/15/2026 19:53:14",
"note": "For PAdES",
"platform": "Certilia",
"codePrefix": "6",
"codeExplanation": "Code = 65 => First digit (6) of code is instance prefix, remainder (5) is actual error code.",
"sampleErrorMessages": [],
"sampleErrorMessagesString": [
"sample 01 => {'error':{'type':'HG_INVALID_REQUEST','code':'65','message':'INVALID_PERSON_NAME_SURNAME','description':'Neispravno ime i prezime osobe.'}}"
],
"Errors": [
{
"code": "5",
"type": "HG_INVALID_REQUEST",
"name": "INVALID_PERSON_NAME_SURNAME",
"description": [
{
"description": "Invalid person's name and surname.",
"language": "EN"
},
{
"description": "Neispravno ime i prezime osobe.",
"language": "HR"
}
]
}
]
}