08-05-2023 01:13 AM
Hello, last 2 days I am keep on getting this error:
Input data for tag is invalid or missing. Please check API documentation.
In API call to complete sale on eBay and sync tracking details.
Complete error:
[Timestamp] => 2023-08-05T07:27:17.504Z
[Ack] => Failure
[CorrelationID] => CompleteSale
[Errors] => SimpleXMLElement Object
(
[ShortMessage] => Input data is invalid.
[LongMessage] => Input data for tag is invalid or missing. Please check API documentation.
[ErrorCode] => 37
[SeverityCode] => Error
[ErrorClassification] => RequestError
)
[Version] => 1321
[Build] => E1289_CORE_APIXO_19220561_R1
)
Complete XML request:
<CompleteSaleRequest xmlns="urn
apis:eBLBaseComponents">
<ErrorLanguage>en_US</ErrorLanguage>
<MessageID>CompleteSale</MessageID>
<Version>1227</Version>
<WarningLevel>High</WarningLevel>
<OrderID>10-10371-10915</OrderID>
<Shipped>true</Shipped>
<Shipment>
<ShipmentTrackingDetails>
<ShipmentTrackingNumber>1102/10478918</ShipmentTrackingNumber>
<ShippingCarrierUsed>Nacex</ShippingCarrierUsed>
</ShipmentTrackingDetails>
<ShippedTime>2023-08-05T20:00:00Z</ShippedTime>
</Shipment>
<RequesterCredentials>
<eBayAuthToken> here comes eBay token </eBayAuthToken>
</RequesterCredentials>
<DetailLevel>ReturnAll</DetailLevel>
</CompleteSaleRequest>
Do you know what can be wrong in the request? Unfortunately from the returned error message it is not so obvious the issue.
Thank you for your help!
08-08-2023 04:54 AM
We have just started seeing this same issue as of today, 8th Aug in UK. Same error, suggesting a field is missing. The orders are marked as Shipped on Ebay, but we still get the failure.
Is anyone else seeing the same issue?
08-08-2023 06:26 AM
I have exactly the same error message being returned 8th August. This was not happening yesterday. The order is being correct marked despatched within eBay. I am leaving feedback with the call and my feedback comment is also correctly being left.
08-08-2023 06:38 AM
I note that Linnworks were reporting a similar issue between Aug 1st and Aug 7th, with message saying Ebay have resolved on the 7th Aug
https://status.linnworks.com/incident/379427
So wondering whether the two are related.
08-08-2023 07:45 AM
I've changed my code to treat a return of Failure but with the exact long message of "Input data for tag is invalid or missing. Please check API documentation." as Success. Far from ideal, but everything seems to still be working fine.
I'll check to see if they fix this in a few days. It does seem an odd co-incidence that eBay claim to have fixed a similar but different despatch error yesterday - presumably they also broke some situations when doing this.
08-08-2023 09:12 AM
The message has not named the tag that is invalid, so quite a bit is amiss with this CompleteSale error.
Input data for tag <...> is invalid or missing. Please check API documentation.
08-08-2023 12:08 PM
Does anyone know if eBay is addressing this issue. It seems to be isolated to orders shipped via USPS as not all transactions are failing and only one of our sites is affected. We are still seeing this error:
$VAR1 = { 'xmlns' => 'urn:ebay:apis:eBLBaseComponents', 'Build' => 'E1289_CORE_APIXO_19220561_R1', 'Version' => '1321', 'Errors' => { 'SeverityCode' => 'Error', 'ShortMessage' => 'Input data is invalid.', 'ErrorClassification' => 'RequestError', 'ErrorCode' => '37', 'LongMessage' => 'Input data for tag is invalid or missing. Please check API documentation.' }, 'Timestamp' => '2023-08-08T17:47:28.403Z', 'Ack' => 'Failure' };
08-09-2023 03:55 AM
Still not fixed, I have raised a support case. Surprised there are not more people reporting the issue on here.
08-09-2023 02:28 PM
same problem here
$xml_message = '<?xml version="1.0" encoding="utf-8"?>
<CompleteSaleRequest xmlns="urn
apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>'.$this->ebay_configs['AuthToken'].'</eBayAuthToken>
</RequesterCredentials>
<WarningLevel>High</WarningLevel>
<ItemID>'.$user_data['ebay_article_id'].'</ItemID>
<Shipment>
<ShipmentTrackingDetails>
<ShipmentTrackingNumber>EBAYMSG-'.$user_data['ebay_transaction_id'].'</ShipmentTrackingNumber>
<ShippingCarrierUsed>AVP</ShippingCarrierUsed>
</ShipmentTrackingDetails>
</Shipment>
<Shipped>true</Shipped>
<TransactionID>'.$user_data['ebay_transaction_id'].'</TransactionID>
</CompleteSaleRequest>';
ERROR:
{
["Timestamp"]=>
string(24) "2023-08-09T21:21:13.824Z"
["Ack"]=>
string(7) "Failure"
["Errors"]=>
array(5) {
["ShortMessage"]=>
string(22) "Input data is invalid."
["LongMessage"]=>
string(73) "Input data for tag is invalid or missing. Please check API documentation."
["ErrorCode"]=>
string(2) "37"
["SeverityCode"]=>
string(5) "Error"
["ErrorClassification"]=>
string(12) "RequestError"
}
["Version"]=>
string(4) "1321"
["Build"]=>
string(28) "E1289_CORE_APIXO_19220561_R1"
}
08-10-2023 12:05 AM
Hi everyone,
same problem here on eBay Germany.
08-14-2023 05:19 AM
We have this type of issues with GLS and Nacex. So probably it does not matter which shipper is used. Would be great if the error message contains more details about the error, not just universal phrase:
Input data for tag is invalid or missing. Please check API documentation.
08-14-2023 05:38 AM
I have this issue with GLS and UPS so I don't think it has anything to do with the type of shipper. I rather assume that eBay has added a new tag that must be transmitted when an order is marked as shipped and eBay has forgotten to communicate that there is a new obligatory tag.
08-21-2023 10:01 AM
Hi @rbs1111
It seems like the incorrect format in <ShipmentTrackingNumber> container is being used in CompleteSale request.
The Trading API only supports alphanumeric characters for shipment tracking numbers, and any other characters are not supported, including spaces, hyphens, and all other special characters.
Please re-execute the call by passing correct format i.e: <ShipmentTrackingNumber>
Also, you can refer to the documentation for more details: https://developer.ebay.com/
12-30-2023 08:58 AM
Hello,
we are using fully numeric code and we still get the same error
<OrderID>(censored)</OrderID>
<Shipped>true</Shipped>
<Shipment>
<ShipmentTrackingDetails> <ShipmentTrackingNumber>181132471187586</ShipmentTrackingNumber> <ShipmentCarrierUser>Bartolini</ShipmentCarrierUser>
</ShipmentTrackingDetails>
<ShippedTime>2023-12-11T14:22:39.000Z</ShippedTime>
</Shipment>
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>Low</WarningLevel>
</CompleteSaleRequest>
Timestamp => "2023-12-30T16:56:42.813Z" (24)Ack => "Failure" (7)Errors => array (5)ShortMessage => "Input data is invalid." (22)LongMessage => "Input data for tag is invalid or missing. Please check API documentation." (74)ErrorCode => "37" (2)SeverityCode => "Error" (5)ErrorClassification => "RequestError" (12)