Error reference
First: where did the error come from
| Sign | Source | Who to contact |
|---|---|---|
The X-Road-Error header is absent | The provider's service | The service description, the owner |
The X-Road-Error header is present, type Server.ClientProxy.… | Your Security Server | The administrator of your own Security Server |
The X-Road-Error header is present, type Server.ServerProxy.… | The provider's Security Server | The service owner |
| No response at all, the connection dropped | The network between your system and the Security Server | Your own network administrator |
The shape of an X-Road error (REST):
json
{
"type": "Server.ServerProxy.AccessDenied",
"message": "Request is not allowed: SERVICE:GRG/GOV/7654321/LAVLAGAA/orlogo",
"detail": "0f1c2d3e-…"
}In SOAP, the same values arrive in faultcode, faultstring and detail. Use the identifier in detail to search the Security Server's log.
Common types
| Type | Meaning | What to do |
|---|---|---|
Server.ServerProxy.AccessDenied | The provider has not granted your subsystem access rights to this service | Check with allowedMethods and ask the owner for access rights. Check that X-Road-Client names the correct subsystem. |
Server.ClientProxy.UnknownMember | The member or subsystem in the address or in X-Road-Client is not in the registry | Check the identifier character by character. listClients |
Server.ServerProxy.UnknownService | The provider has no service with this code | Read the service code from listMethods |
Server.ServerProxy.ServiceDisabled | The owner has temporarily disabled the service | Contact the owner |
Server.ClientProxy.NetworkError | Your Security Server could not connect to the provider's | Firewall: whether ports 5500 and 5577 are open in the outbound direction. Whether the provider's server is running. |
Server.ServerProxy.ServiceFailed.… | The provider's Security Server could not reach its own service, or the service gave an invalid response | A problem on the provider's side. Report it and give your X-Road-Id. |
Server.ClientProxy.SslAuthenticationFailed | The two Security Servers could not identify each other | One side's certificate is invalid or not registered. Contact your administrator. |
Server.ClientProxy.OutdatedGlobalConf | Your Security Server has not been able to update its global configuration | Check the connection from the Security Server to the Central Server |
Starting with Client.… | The request itself is wrong: a missing header, a malformed address | Check that X-Road-Client is present and that the address starts with /r1/ |
This list is not exhaustive. The first part of the type name tells you on which side the error occurred, and the last part tells you what happened.
Order of checks
When a call does not work, go from top to bottom:
- Can you reach the Security Server? Does
curl http://<your-ss>:8080/listClientsreturn a response? If not, check the internal network and the port. - Is the identifier correct? Are both your own subsystem and the provider's subsystem in the
listClientsresponse? - Does the service exist? Is the service code in
listMethods? - Do you have access rights? Is it in
allowedMethods? - The call itself. Look at it with its headers using
curl -i. Is there anX-Road-Error, and what is its type?
When asking for help
Provide these three together. Without them nobody can find out what happened.
- The
X-Road-Id(from the response header) or the error'sdetail - The time the request was sent, with the time zone
- The error's
typeandmessagein full
Do not send request bodies that contain confidential information or personal data.