LMS_ADD_FIXED_PRICE_ITEM failing with error 10019: ShippingServiceCost is NULL even though shipping
I’m trying to publish an eBay fixed-price listing through the eBay feed flow and I’m stuck on the same failure repeatedly:
- Publish result: `0 success, 1 failed`
- eBay task IDs: `task-40-11305877645`, `task-40-13300462112`
- eBay error: `10019`
- Relevant message: `ShippingServiceCost[NULL]` with `ShippingType=FLAT_RATE` and `ShippingService=Royal Mail 1st Class(301)`
This is happening for `LMS_ADD_FIXED_PRICE_ITEM` / `FX_LISTING`.
What makes this confusing is that the draft data is populated correctly:
- `postage_cost_gbp = 3.99`
- `editor_payload = {}`
- the listing draft is the one with SKU `MOD000006` and draft ID `be253847-74e3-45f4-8895-589126392430`
What I have already tried:
1. Added `postage_cost_gbp` to the export SELECT so the draft record actually includes the shipping cost when the listing is built.
2. Updated the template resolver so `ShippingService-1:ServiceCost` is populated from `postage_cost_gbp`.
3. Changed editor override handling so blank overrides do not mask computed values from the template resolver.
4. Added validation to block publishing when postage cost is missing.
5. Added preflight loading for `postage_cost_gbp`.
6. Widened payload debug logging so I can inspect the generated feed more clearly.
7. Checked that the DB row itself has a real shipping cost and no shipping-related override is present.
Despite this, the feed still fails with the same eBay validation error saying `ShippingServiceCost` is null.
Question:
Is there another required field or mapping for `LMS_ADD_FIXED_PRICE_ITEM` that can cause `ShippingServiceCost` to be treated as null even when `ShippingService-1:ServiceCost` is present in the source data? Is there a known requirement for the shipping service / cost pair, or a hidden constraint in the feed format, that I should check next?
If helpful, I can share the exact debug sample and the field mapping I’m using.
developer-support@ebay.com
Hi @modellerscraftshop,
Thank you for your post!
We've reviewed your query, and to assist you more effectively, we kindly ask that you submit a support ticket using the following link: eBay Support Tickets. This is a complimentary service and will allow us to investigate the issue in detail.
Additionally, please avoid sharing sensitive information here in the forum, as it may contain confidential data and could pose security risks if posted publicly.
Best Regards,
eBay Developer Support
modellerscraftshop
OP2 months agoThanks but I found the problem in the end, my listing export path was treating binary as a string.