The following samples showcase possible responses to specific errors or missing parameters in webservice requests.
Create parcel
Miscellaneous
-
Request with no body
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Fault occurred while processing.</faultstring>
</soap:Fault>
-
Request with empty body
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>java.lang.IllegalArgumentException: wrong number of arguments</faultstring>
</soap:Fault>
-
Incoterm field missing
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipment.incoterm</ns2:name>
<ns2:value>SHIPMENT_VALID_ROUTING</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
-
Consignee does not exist
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Consignee Address not found in predefined by manufacturer</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Consignee.Address</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Authentication Errors
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Authorization invalid</faultstring>
</soap:Fault>
Shipper Validation
Shipper does not exist or is not available to the user
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipper does not exist or is not available for the user.</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Shipper.ContactID</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
NameX/Province/City/Streetname/Streetnumber/Telephone/Mobile/Contact person that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Shipper.Address.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Email that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 80</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Shipper.Address.EMail</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Email with invalid format
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipper.email.wrong_format</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Product validation
Product does not exist
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-enumeration-valid: Value 'XXXXXXXX' is not facet-valid with respect to enumeration '[Parcel, Express, Freight]'.
It must be a value from the enumeration.</faultstring>
</soap:Fault>
Product is not available
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>No matching product available for shipper for the given input data (weight and addresses).</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Product</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Service validation
Services that can't be combined
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>The services XXXXXXXX, XXXXXXXX cannot be combined with the remaining services of this shipment</faultstring>
</soap:Fault>
Multiple units with concurring services
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>All shipment units must have the same services.</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.ShipmentUnit.Service.ServiceName</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Service does not exist or is not available
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Article does not exist or is not available for shipper</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Service.ServiceName</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Parcel Validation
Reference number that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.ShipmentUnit.ShipmentUnitReference</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Weight with negative value
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipmentunit.weight.toolow</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Weight value with invalid characters
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException:
Cannot interpret XXXXXXXX as a valid decimal value.</faultstring>
</soap:Fault>
Printing Options Validation
TemplateSet does not exist or left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-enumeration-valid:
Value 'XXXXXXXX' is not facet-valid with respect to enumeration '[NONE, D200, PF4I, PF4I200, PF4I300, PF8D200, T200BF, T300BF, ZPL200, ZPL300]'.
It must be a value from the enumeration.</faultstring>
</soap:Fault>
LabelFormat does not exist or left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error:
cvc-enumeration-valid: Value 'XXXXXXXX' is not facet-valid with respect to enumeration '[PDF, Zebra, Intermec, Datamax, Toshiba]'.
It must be a value from the enumeration.</faultstring>
</soap:Fault>
Printer does not exist
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Printer not found in configuration.</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>PrintingOptions.DefinePrinter.DocumentPrinter</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Label printer does not exist
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Printer not found in configuration.</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>PrintingOptions.DefinePrinter.LabelPrinter</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Default printer field with invalid value
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Invalid field PrintingOptions.UseDefault. Value XXXXXXXX is not a valid value</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>PrintingOptions.UseDefault</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Printing options fields left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>PrintingOptions not defined</faultstring>
<detail>
<ns2:MandatoryFieldMissingFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:fieldname>
<ns2:name>ShipmentRequestData.PrintingOptions</ns2:name>
</ns2:fieldname>
</ns2:MandatoryFieldMissingFault>
</detail>
</soap:Fault>
Consignee address and B2C Area
Zip code invalid or left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>consignee.zip</ns2:name>
<ns2:value>ADDRESS_ZIPCODE_MANDATORY</ns2:value>
</ns2:field>
<ns2:field>
<ns2:name>consignee.zip</ns2:name>
<ns2:value>ADDRESS_VALID_ZIPCODE</ns2:value>
</ns2:field>
<ns2:field>
<ns2:name>routing</ns2:name>
<ns2:value>SHIPMENT_VALID_ROUTING</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
CountryCode left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Mandatory field is not set or invalid</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Consignee.Address.CountryCode</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
CountryCode field set with invalid or unknown values
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Mandatory field is not set or invalid</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Consignee.Address.CountryCode</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
NameX/Province/City/Street/Streetnumber/Contact person that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Consignee.Address.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Email that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 80</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Consignee.Address.EMail</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Telephone or mobile number that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Mobile or telephone number length exceeds 40</faultstring>
</soap:Fault>
IdentPin
Pin that's too short or no Pin
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too short. Minimum 4</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.IdentPin.PIN</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Pin that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 4</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.IdentPin.PIN</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Pin with invalid characters
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value contains characters that are not allowed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>pin</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Birthdate field set with past/future values
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>article.identPin.birthdate</ns2:name>
<ns2:value>ARTICLE_ATTRIBUTES_IDENT_BIRTHDATE</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Birthdate field set with an invalid format
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error:
eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException:
Cannot interpret XXXXXXXX as a valid date.</faultstring>
</soap:Fault>
Birthdate field left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-datatype-valid.1.2.1: '' is not a valid value for 'date'.</faultstring>
</soap:Fault>
IdentService
Firstname/Lastname that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.Ident.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Firstname/Lastname left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is mandatory</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Ident.XXXXXXXX</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Invalid country code value
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Mandatory field is not set or invalid</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Ident.Nationality</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
HazardousGoods
Weight that's too high/negative/zero
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>weight.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Weight field left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException: Cannot interpret as a valid decimal value.</faultstring>
</soap:Fault>
ID field does not exist or is not available
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Hazardous good does not exist or is not available for the shipper</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.ShipmentUnit.Service.HazardousGoods.HazardousGood.GLSHazNo</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
CashService
Reason field left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is mandatory</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Cash.Reason</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Reason field that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 160</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.ShipmentUnit.Service.Cash.Reason</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Incorrect currency
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipmentunit.article.cod.wrongcurrency</ns2:name>
<ns2:value>ARTICLE_ATTRIBUTES_CASH</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Amount field with zero or negative value
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>article.attribute.notpositive</ns2:name>
<ns2:value>ARTICLE_ATTRIBUTES_CASH</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Amount field left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException:
Cannot interpret as a valid decimal value.</faultstring>
</soap:Fault>
Amount value with invalid characters
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException:
Cannot interpret XXXXXXXX as a valid decimal value.</faultstring>
</soap:Fault>
Amount value that's too high
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipmentunit.attribute.cod.toohigh</ns2:name>
<ns2:value>ARTICLES_PRODUCT_MAX_COD</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
ShopDelivery
ShopID field left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too short. Minimum 1</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.ShopDelivery.ParcelShopID</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
ShopID field that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 10</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.ShopDelivery.ParcelShopID</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
No consignee contact data provided
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>consignee.shopDelivery</ns2:name>
<ns2:value>CONSIGNEE_ADDRESS_EMAIL_MANDATORY</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
No consignee contact data provided
HTTP/1.1 400 Bad Request
message: Invalid field consignee.shopDelivery. Value XXXXXXXX is not a valid value. Shipment validation failed
error: INVALID_FIELD_VALUE
ShopReturn
NumberOfLabels field with zero or negative value
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Invalid field Shipment.Service.ShopReturn.NumberOfLabels. Value XXXXXXXX is not a valid value</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Service.ShopReturn.NumberOfLabels</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Service not available
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>article.notavailable</ns2:name>
<ns2:value>ARTICLES_VALID_FOR_COUNTRY</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
InterCompany
NameX/Province/City/Street/Streetnumber/Telephone/Mobile that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.ShipmentService.[Intercompany|Exchange].Address.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Email that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 80</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.ShipmentService.[Intercompany|Exchange].Address.EMail</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
NumberOfLabels field with zero or negative value
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Invalid field Shipment.Service.Intercompany.NumberOfLabels. Value XXXXXXXX is not a valid value</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.Service.Intercompany.NumberOfLabels</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Zip code field that's left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is mandatory</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Intercompany.Address.ZIPCode</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
CountryCode field that's left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is mandatory</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Intercompany.Address.CountryCode</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Exchange
Zip code field that's left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is mandatory</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Exchange.Address.ZIPCode</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
CountryCode field that's left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is mandatory</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Exchange.Address.CountryCode</ns2:name>
<ns2:value/>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
NameX/Province/City/Street/Streetnumber/Telephone/Mobile that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.ShipmentService.[Intercompany|Exchange].Address.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Email that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 80</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>Shipment.ShipmentService.[Intercompany|Exchange].Address.EMail</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
DeliveryAtWork
Weight that's too high/low/negative
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipmentunit.weight.XXXXXXXX</ns2:name>
<ns2:value>ARTICLES_PRODUCT_WEIGHT</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Weight field left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException: Cannot interpret as a valid decimal value.</faultstring>
</soap:Fault>
RecipientName/AlternateRecipientName/Building/Floor/Room/Telephone that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 40</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.DeliveryAtWork.XXXXXXXX</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Deposit
PlaceOfDeposit that's too long
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Value is too long. Maximum is 121</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>ShipmentRequestData.Shipment.Service.Deposit.PlaceOfDeposit</ns2:name>
<ns2:value>XXXXXXXX</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
AddOnLiability
Amount field with zero or negative value
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipmentunit.article.addonliability.notavailable</ns2:name>
<ns2:value>ARTICLES_PRODUCT_VALIDATE_ADDON_LIABILITY</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
Amount field left empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: eu.glsgroup.fpcs.soap.util.SOAPRequestValidationException: Cannot interpret as a valid decimal value.</faultstring>
</soap:Fault>
Currency field set with invalid value or left empty
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Shipment validation failed</faultstring>
<detail>
<ns2:InvalidFieldValueFault xmlns="http://fpcs.gls-group.eu/v1/ShipmentProcessing/types" xmlns:ns2="http://fpcs.gls-group.eu/v1/Common">
<ns2:field>
<ns2:name>shipmentunit.article.addonliability.wrongcurrency</ns2:name>
<ns2:value>ARTICLES_PRODUCT_VALIDATE_ADDON_LIABILITY</ns2:value>
</ns2:field>
</ns2:InvalidFieldValueFault>
</detail>
</soap:Fault>
CustomContent
Barcode type invalid or empty
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-enumeration-valid: Value 'XXXXXXXX' is not facet-valid with respect to enumeration '[EAN_128, CODE_39]'.
It must be a value from the enumeration.</faultstring>
</soap:Fault>