List API errors
const url = 'https://api.test.certilia.com/jades/errors';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Odjeljak „Authorizations”Responses
Odjeljak „Responses”All API errors.
List of all API errors.
object
Version of the error list.
Note.
Platform.
API code, the first character of every error code this API returns (B for JAdES).
Explanation of the error code structure.
Sample error responses as objects. Currently empty; see sampleErrorMessagesString.
Error response.
object
Error details.
object
Trace identifier. Send it to support when you report a problem.
Error type, the group the error belongs to.
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.
HTTP status code.
Public error name.
Localised error description, in Croatian or English. The language is set on the server; the default is
Croatian (HR).
Additional information about the error.
Language of description.
Public error name, the same as message (kept for compatibility).
Sample error responses as text, one string per sample.
All errors of the API.
One API error.
object
Error number, without the API prefix: 111 here is B111 in a JAdES error response (error.code).
Error type, the group the error belongs to.
Public error name (the same as error.message in an error response).
The error description in English (EN) and Croatian (HR).
The error description in one language.
object
Error description.
Language of the description, EN or HR.
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" } ] } ]}