Note that there are some explanatory texts on larger screens.

plurals
  1. POFedEx : Shipment request failed due to label creation error
    primarykey
    data
    text
    <p>I'm trying to create a shipping using FedEx webservice and return commercial invoice. I'm using the request values provided below: </p> <pre><code>Array ( [WebAuthenticationDetail] =&gt; Array ( [UserCredential] =&gt; Array ( [Key] =&gt; XXXXXXX [Password] =&gt; XXXXXX ) ) [ClientDetail] =&gt; Array ( [AccountNumber] =&gt; XXXX [MeterNumber] =&gt; XXXXX ) [Version] =&gt; Array ( [ServiceId] =&gt; ship [Major] =&gt; 13 [Intermediate] =&gt; 0 [Minor] =&gt; 0 ) [RequestedShipment] =&gt; Array ( [DropoffType] =&gt; REGULAR_PICKUP [ShipTimestamp] =&gt; 2013-09-23T20:50:27+02:00 [ServiceType] =&gt; FIRST_OVERNIGHT [PackagingType] =&gt; FEDEX_BOX [Shipper] =&gt; Array ( [Contact] =&gt; Array ( [PersonName] =&gt; User [CompanyName] =&gt; Company [PhoneNumber] =&gt; 56757567456 ) [Address] =&gt; Array ( [StreetLines] =&gt; Array ( [0] =&gt; 4400 test street [1] =&gt; apt 65, nro 6098 ) [City] =&gt; New York [StateOrProvinceCode] =&gt; NY [PostalCode] =&gt; 10018 [CountryCode] =&gt; US ) ) [Recipient] =&gt; Array ( [Contact] =&gt; Array ( [PersonName] =&gt; Test [CompanyName] =&gt; Test [PhoneNumber] =&gt; 4563456 ) [Address] =&gt; Array ( [StreetLines] =&gt; Array ( [0] =&gt; Test [1] =&gt; ) [City] =&gt; New York [StateOrProvinceCode] =&gt; NY [PostalCode] =&gt; 10019 [CountryCode] =&gt; US ) ) [ShippingChargesPayment] =&gt; Array ( [PaymentType] =&gt; SENDER [Payor] =&gt; Array ( [ResponsibleParty] =&gt; Array ( [AccountNumber] =&gt; XXXXXX [Contact] =&gt; [Address] =&gt; Array ( [CountryCode] =&gt; US ) ) ) ) [CustomsClearanceDetail] =&gt; Array ( [DutiesPayment] =&gt; Array ( [PaymentType] =&gt; SENDER [Payor] =&gt; Array ( [ResponsibleParty] =&gt; Array ( [AccountNumber] =&gt; XXXX [Contact] =&gt; [Address] =&gt; Array ( [CountryCode] =&gt; US ) ) ) ) [CustomsValue] =&gt; Array ( [Currency] =&gt; USD [Amount] =&gt; 44 ) [Commodities] =&gt; Array ( [0] =&gt; Array ( [NumberOfPieces] =&gt; 1 [Description] =&gt; XXXX [CountryOfManufacture] =&gt; US [Weight] =&gt; Array ( [Value] =&gt; 1 [Units] =&gt; LB ) [Quantity] =&gt; 3 [QuantityUnits] =&gt; PCS [UnitPrice] =&gt; Array ( [Currency] =&gt; USD [Amount] =&gt; 1 ) [CustomsValue] =&gt; Array ( [Currency] =&gt; USD [Amount] =&gt; 3 ) ) ) ) [RateRequestTypes] =&gt; LIST [PackageCount] =&gt; 1 [RequestedPackageLineItems] =&gt; Array ( [0] =&gt; Array ( [SequenceNumber] =&gt; 1 [GroupPackageCount] =&gt; 1 [Weight] =&gt; Array ( [Value] =&gt; 1 [Units] =&gt; LB ) [Dimensions] =&gt; Array ( [Length] =&gt; 2 [Width] =&gt; 3 [Height] =&gt; 4 [Units] =&gt; IN ) ) ) [LabelSpecification] =&gt; Array ( [LabelFormatType] =&gt; COMMON2D [ImageType] =&gt; PDF [LabelStockType] =&gt; PAPER_7X4.75 ) [ShippingDocumentSpecification] =&gt; Array ( [ShippingDocumentTypes] =&gt; Array ( [0] =&gt; COMMERCIAL_INVOICE ) ) ) ) </code></pre> <p>If i don't include the ShippingDocumentSpecification part it works perfectly. But when i add it i always get this response no matter what:</p> <pre><code>stdClass Object ( [HighestSeverity] =&gt; FAILURE [Notifications] =&gt; stdClass Object ( [Severity] =&gt; FAILURE [Source] =&gt; ship [Code] =&gt; 6050 [Message] =&gt; Shipment request failed due to label creation error [LocalizedMessage] =&gt; Shipment request failed due to label creation error [MessageParameters] =&gt; stdClass Object ( [Id] =&gt; CAUSE [Value] =&gt; General error from JCLS ) ) [Version] =&gt; stdClass Object ( [ServiceId] =&gt; ship [Major] =&gt; 13 [Intermediate] =&gt; 0 [Minor] =&gt; 0 ) ) </code></pre> <p>Why is this happening? where is there error on the request, cause response is not helping to identify it. Also I'm using a fedex test account, do this have anything to do with this error?... </p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload