bad api request

  • Author
    Posts
  • #261466

    fifiontoys
    Participant

    Hi, I need help with ALD Sync API.

    Chrome extension sync works correctly and shows the product as available with US shipping, but Sync API marks the WooCommerce product out of stock.

    Example:
    Woo product ID: 819
    AliExpress product ID: 3256808478595199
    Imported from: United States (US)

    API products sync log:
    ALERT start sync product: 3256808478595199
    ALERT Product #(10231)(Ali ID 3256808478595199): This product is no longer available, Woo product’s stock status changed to out-of-stock
    ALERT {“message”:”Bad request.”}

    Debug log shows:
    method: aliexpress.ds.freight.query
    shipToCountry: US
    provinceCode: blank
    cityCode: blank

    API responses include:
    DELIVERY_NOT_AVAILABLE_TO_YOUR_ADDRESS
    DELIVERY_INFO_EMPTY
    SKU Price Not Existed

    But on AliExpress, the product is available, the selected variation is available, and the Chrome extension popup shows Availability: YES with shipping cost.

    Can you confirm why Sync API is sending blank provinceCode/cityCode, and why freight/SKU API errors are being treated as “product no longer available”? Is there a setting for default API shipping address, or is this a plugin/API issue?

You must be logged in to see replies to this topic. Click here to login or register