Saxo Group monitors the CMS API and has failover procedures and backup systems. Internal failures are therefore handled immediately through Saxo Group's incident management process and are normally not noticeable to the White Label.
CMS uses Faults to communicate possible error scenarios back to its clients.
There are two types of declared faults (SOAP faults that are defined in the service contract), ValidationFault and ServiceFault. See Section 5.3 for more details.
Error Codes for ServiceFaults
Login and Security
Is unknown, and should be handled as a system error. Please contact technical support at Saxo Bank if this exception is returned.
Is returned when the login fails or a request is done towards a web service interface that the user does not have access to.
Is returned when the server user has failed to logon five times. Saxo Bank must reactivate it.
The session id that is attached in the web service request is not known by the server.
The session id expires 8 hours after login is called and needs to be renewed.
The password expires every third month and needs to be changed by the ChangePassword request.
All requests must be done from the same IP address as the login request.
The certificate used on the client does not match with a known User.
The Fault names market with gray can be solved by renewing the ticket, i.e. call Login again and receive a new ticket.
User is locked out. Too many validate password attempts.
Password is expired.
Counterpart owning the user is not active.
User is not active.
User is not authorized for platform.
Another challenge is needed.
Challenge response wrong.
The password does not meet the security complexity requirements.
The password has recently been changed.
This password has already been used. Please select another password.
Unknown error in change password functionality.
When issuing cash transfers, one counterpart account and one funding account must be supplied.
The provided counterpart account is accessible by the owner of the funding account. The counterpart account is on a higher level than the funding account.
The currency must be the same as the currency of the counterpart account and the funding account.
The provided value date is not valid. The value date cannot be more that 6 months ahead of current time.
From Account has insufficient cash.
Account is not valid for cash transfers. This often indicates that the Account is missing required products.
From or to Account is inactive.
Cash Transfer failed. This indicates that an internal cash transfer error has occurred. Please contact technical support at Saxo Bank.
Relief at Source
ReliefAtSource information provided, but is not enabled for owner.
ReliefAtSourceType is not allowed for the current owner.
Provided NifId is not valid.
NifId must be specified for Portuguese relief at source types.
NifId must not be specified for non-Portuguese relief at source types.
Expiry date must not be specified for non us Portuguese relief at source types.
Counterpart, Account and User related errors
Template is not enabled.
Template does not belong to current Owner.
Template is of wrong type.
The Account number does not have a valid prefix.
Account number for account is not unique.
User login name is not unique.
No Omnibus Account found belonging to the current Owner.
Vat information is provided, but is not enabled for owner.
Account Templates supplied, do not correspond with the Child Account Templates belonging to the Counterpart TemplateId.
One Account should have the same currency as the base currency on the counterpart.
No Accounts supplied when creating counterpart.
CdIdentNumber needs to be specified, if it is not present on the Account Template used.
Account contains open positions and cannot be moved to another counterpart.
Account has a cash balance that is not zero and cannot be moved to another counterpart.
It is not allowed to update Currency on existing Account
It is not allowed to change the CounterpartType of an existing Counterpart.
It is not allowed to change the OwnerId of an existing Counterpart.
It is not allowed to update the InterestProfileId on an existing Account
It is not allowed to change Counterpart Owner on an existing Account
It is not allowed to update AccountRiskProfileId on an existing Account
It is not allowed to update CfdInterestProfileId on an existing Account
It is not allowed to change the MarginProfile of an existing Counterpart.
It is not allowed to change the MarginCallProfile of an existing Counterpart
Provided Instruments are not allowed for the current Owner.
It is not allowed to provide Tin number on the Primary User when creating a Corporate Counterpart.
CompanyRegistrationNumber should not be supplied for none Corporate Counterpart Types
Is unknown and should be handled as a system Fault. Please contact technical support at Saxo Bank.
The provided value is not allowed. Please contact Saxo Bank if value should be allowed.
The Owner does not have access to the entity.
Fault Type Examples
Used to give clients field level validation feedback. And about common business rules. Examples could be validation like Required, StringLength, DataType, Account Number etc.
Used for all other possible types of faults. An error code will be used, so the client can identify the specific error reason and act upon it.