RestFault

Description

The RestFault aggregate is used to return error information in an exception.

Aggregate Elements

Name Description Required

Message

Text error message describing the error

Type: String

Constraints: None

Yes

ErrorCode

Numeric error code for the fault.

Type: Int

Constraints: None ts: None

Yes

Error codes

Value Description

19400

An unknown error occurred

19402

The credit card is invalid

19403

The credit card type is invalid

19404

Credit card expiration date is invalid

19405

Credit card failed LUHN check

19406

The account already exists

19408

The email address was to long

19409

The email address was incorrectly formatted

19410

The sessionId is invalid

19411

The name on credit card too long

19412

The credit card expiration date incorrectly formatted

19413

The credit card cvv2 code is too long

19414

The street address first part too long

19415

The street address second part too long

19417

The street address state too long

19418

The street address country too long

19419

The street address postal code too long

19420

The first name in customer account aggregate too long

19421

The last name in customer account aggregate too long

19422

The password in customer account aggregate too long

19423

The productId is invalid

19424

The phonenumber in customer account aggregate too long

19425

The UserName in customer account aggregate too long

19426

The accoundID in customer account aggregate too long