The following samples showcase possible responses to specific errors or missing parameters in webservice requests.
Create parcel
Miscellaneous
- 
Request with no body 
HTTP/1.1 400 Bad Request
message: The Mandatory parameter ShipmentRequestData is not set
error: MANDATORY_PARAMETER_NOT_SET
 
 
- 
Request with empty body 
HTTP/1.1 400 Bad Request
message: The Mandatory parameter Shipment is not set
error: MANDATORY_PARAMETER_NOT_SET
 
 
- 
Incoterm field missing 
HTTP/1.1 400 Bad Request
message: Invalid field shipment.incoterm. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
 
 
- 
Consignee does not exist 
HTTP/1.1 400 Bad Request
message: Invalid field ShipmentRequestData.Shipment.Consignee.Address. Value XXXXXXXX is not a valid value. Consignee Address not found in predefined by manufacturer
error: INVALID_FIELD_VALUE
   
Authentication Errors
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic <Base64(user:password)>
Shipper Validation
Product validation
- 
Product does not exist 
com.fasterxml.jackson.databind.exc.InvalidFormatException:
    Cannot deserialize value of type `eu.glsgroup.fpcs.datatypes.soap.v1.common.ProductType` from String "XXXXXXXX":
        value not one of declared Enum instance names: [EXPRESS, PARCEL, FREIGHT]
 
 
- 
Product is not available 
HTTP/1.1 400 Bad Request
message: Invalid field ShipmentRequestData.Shipment.Product. Value XXXXXXXX is not a valid value. No matching product available for shipper for the given input data (weight and addresses).
error: INVALID_FIELD_VALUE
   
Service validation
Parcel Validation
Printing Options Validation
- 
TemplateSet does not exist or left empty 
com.fasterxml.jackson.databind.exc.InvalidFormatException:
    Cannot deserialize value of type `eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.TemplateSet` from String "XXXXXXXX":
        value not one of declared Enum instance names: [ZPL_300,ZPL_200, NONE]
 
 
- 
LabelFormat does not exist or left empty 
com.fasterxml.jackson.databind.exc.InvalidFormatException:
    Cannot deserialize value of type `eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.LabelFormat` from String "XXXXXXXX":
        value not one of declared Enum instance names: [PDF, PNG, ZEBRA]
 
 
- 
Printer does not exist 
HTTP/1.1 400 Bad Request
message: Invalid field PrintingOptions.DefinePrinter.DocumentPrinter. Value XXXXXXXX is not a valid value. Printer not found in configuration.
error: INVALID_FIELD_VALUE
 
 
- 
Label printer does not exist 
HTTP/1.1 400 Bad Request
message: Invalid field PrintingOptions.DefinePrinter.LabelPrinter. Value XXXXXXXX is not a valid value. Printer not found in configuration.
error: INVALID_FIELD_VALUE
 
 
- 
Default printer field with invalid value 
HTTP/1.1 400 Bad Request
message: Invalid field PrintingOptions.UseDefault. Value XXXXXXXX is not a valid value. Invalid field PrintingOptions.UseDefault. Value XXXXXXXX is not a valid value
error: INVALID_FIELD_VALUE
 
 
- 
Printing options fields left empty 
HTTP/1.1 400 Bad Request
message: The Mandatory parameter ShipmentRequestData.PrintingOptions is not set
error: INVALID_FIELD_VALUE
   
Consignee Address
- 
Zip code invalid or left empty 
HTTP/1.1 400 Bad Request
message: Invalid field consignee.zip. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
 
 
- 
CountryCode left empty 
HTTP/1.1 400 Bad Request
message: The Mandatory parameter Shipment.Consignee.Address.CountryCode is not set
error: MANDATORY_PARAMETER_NOT_SET
 
 
- 
CountryCode field set with invalid or unknown values 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.Consignee.Address.CountryCode. Value XXXXXXXX is not a valid value. Mandatory field is not set or invalid
error: INVALID_FIELD_VALUE
 
 
- 
NameX/Province/City/Street/Streetnumber/Contact person that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.Consignee.Address.XXXXXXXX. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 40
error: INVALID_FIELD_VALUE
 
 
- 
Email that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.Consignee.Address.EMail. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 80
error: INVALID_FIELD_VALUE
 
 
- 
Telephone or mobile number that's too long 
HTTP/1.1 400 Bad Request
message: Mobile or telephone number length exceeds 40
error: NUMBER_EXCEEDS_LENGTH
   
IdentPIN
- 
Pin that's too short or no Pin 
HTTP/1.1 400 Bad Request
message: Invalid field ShipmentRequestData.Shipment.Service.IdentPin.PIN. Value XXXXXXXX is not a valid value. Value is too short. Minimum 4
 
 
- 
Pin that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field ShipmentRequestData.Shipment.Service.IdentPin.PIN. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 4
error: INVALID_FIELD_VALUE
 
 
- 
Pin with invalid characters 
HTTP/1.1 400 Bad Request
message: Invalid field pin. Value XXXXXXXX is not a valid value. Value contains characters that are not allowed
error: INVALID_FIELD_VALUE
 
 
- 
Birthdate field set with past/future values 
HTTP/1.1 400 Bad Request
message: Invalid field article.identPin.birthdate. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
 
 
- 
Birthdate field set with an invalid format 
com.fasterxml.jackson.databind.JsonMappingException:
    Cannot interpret XXXXXXXX as a valid date.
 
 
- 
Birthdate field left empty 
com.fasterxml.jackson.databind.JsonMappingException:
    Unexpected character XXXXXXXX (code 125)): expected a value
   
IdentService
HazardousGoods
CashService
- 
Reason field left empty 
HTTP/1.1 400 Bad Request
message: Invalid field Cash.Reason. Value  is not a valid value. Value is mandatory
error: INVALID_FIELD_VALUE
 
 
- 
Reason field that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field ShipmentRequestData.Shipment.ShipmentUnit.Service.Cash.Reason. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 160
error: INVALID_FIELD_VALUE
 
 
- 
Incorrect currency 
HTTP/1.1 400 Bad Request
message: Invalid field shipmentunit.article.cod.wrongcurrency. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
 
 
- 
Amount field with zero or negative value 
HTTP/1.1 400 Bad Request
message: Invalid field article.attribute.notpositive. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
 
 
- 
Amount field left empty 
HTTP/1.1 400 Bad Request
message: Invalid field null. Value null is not a valid value. Value is mandatory
error: INVALID_FIELD_VALUE
 
 
- 
Amount value with invalid characters 
com.fasterxml.jackson.databind.JsonMappingException: Cannot interpret XXXXXXXX as a valid decimal value.
 
 
- 
Amount value that's too high 
HTTP/1.1 400 Bad Request
message: Invalid field shipmentunit.attribute.cod.toohigh. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
   
ShopDelivery
ShopReturn
InterCompany
- 
NameX/Province/City/Street/Streetnumber/Telephone/Mobile that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.ShipmentService.[Intercompany|Exchange].Address.XXXXXXXX. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 40
error: INVALID_FIELD_VALUE
 
 
- 
Email that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.ShipmentService.[Intercompany|Exchange].Address.EMail. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 80
error: INVALID_FIELD_VALUE
 
 
- 
NumberOfLabels field with zero or negative value 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.Service.Intercompany.NumberOfLabels. Value XXXXXXXX is not a valid value. Invalid field Shipment.Service.ShopReturn.NumberOfLabels. Value XXXXXXXX is not a valid value
error: INVALID_FIELD_VALUE
 
 
- 
Zip code field that's left empty 
HTTP/1.1 400 Bad Request
message: Invalid field Intercompany.Address.ZIPCode. Value null is not a valid value. Value is mandatory
error: INVALID_FIELD_VALUE
 
 
- 
CountryCode field that's left empty 
HTTP/1.1 400 Bad Request
message: Invalid field Intercompany.Address.CountryCode. Value null is not a valid value. Value is mandatory
error: INVALID_FIELD_VALUE
   
Exchange
- 
Zip code field that's left empty 
HTTP/1.1 400 Bad Request
message: Invalid field Exchange.Address.ZIPCode. Value null is not a valid value. Value is mandatory
error: INVALID_FIELD_VALUE
 
 
- 
CountryCode field that's left empty 
HTTP/1.1 400 Bad Request
message: Invalid field Exchange.Address.CountryCode. Value null is not a valid value. Value is mandatory
error: INVALID_FIELD_VALUE
 
 
- 
NameX/Province/City/Street/Streetnumber/Telephone/Mobile that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.ShipmentService.[Intercompany|Exchange].Address.XXXXXXXX. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 40
error: INVALID_FIELD_VALUE
 
 
- 
Email that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field Shipment.ShipmentService.[Intercompany|Exchange].Address.EMail. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 80
error: INVALID_FIELD_VALUE
   
DeliveryAtWork
Deposit
- 
PlaceOfDeposit that's too long 
HTTP/1.1 400 Bad Request
message: Invalid field ShipmentRequestData.Shipment.Service.Deposit.PlaceOfDeposit. Value XXXXXXXX is not a valid value. Value is too long. Maximum is 121
error: INVALID_FIELD_VALUE
   
AddOnLiability
CustomContent
- 
Barcode type invalid or empty 
com.fasterxml.jackson.databind.exc.InvalidFormatException:
    Cannot deserialize value of type `eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing.BarcodeType` from String "XXXXXXXX":
        value not one of declared Enum instance names: [CODE_39, EAN_128]