Home Forums Plugins Aliexpress Dropshipping and Fulfillment for WooCommerce Issue: product auto-sync by API does not work, and cause all product to draft

Issue: product auto-sync by API does not work, and cause all product to draft

  • Author
    Posts
  • #216710

    Daniel_Craig
    Participant

    Hello,

    Today, I am sure there is a issue:

    1.# We enable product auto-sync by API, and we set product to be draft if the product are not available, and it works fine before.
    2.# Today, I noted that all of product were set to be draft.
    3 #. Manually Sync API will show the logs:

    ald-api-products-sync

    2024-10-09T13:12:57+00:00 Alert string(22) "api_sync_product: 5456"
    2024-10-09T13:12:57+00:00 Alert string(32) "api -imported sync product_id : "
    2024-10-09T13:12:59+00:00 Alert start sync product: 3256806910449270
    2024-10-09T13:12:59+00:00 Alert Product #1976897(Ali ID 3256806910449270): This product is no longer available, Woo product status changed to draft
    2024-10-09T13:12:59+00:00 Alert {"data":"not_exist"} 

    ald-debug-2024-10-09:

    2024-10-09T13:24:04+00:00 Info string(36) "Can not get the shipping information"
    array(6) {
      ["status"]=>
      string(5) "error"
      ["freight"]=>
      array(0) {
      }
      ["code"]=>
      string(0) ""
      ["from"]=>
      string(3) "api"
      ["ali_request"]=>
      array(6) {
        ["queryDeliveryReq"]=>
        string(194) "{"productId":"3256806443396202","selectedSkuId":"12000038590916433","shipToCountry":"US","provinceCode":"","cityCode":"","currency":"USD","quantity":1,"source":"","language":"en_US","locale":""}"
        ["app_key"]=>
        string(8) "29126830"
        ["sign_method"]=>
        string(6) "sha256"
        ["timestamp"]=>
        string(13) "1728480243000"
        ["sign"]=>
        string(64) "8C8B93E143DF7B8584DG66S3B9671DADG16441DCB6D760B03A2F56E35DB3AFA3CC2406"
        ["method"]=>
        string(27) "aliexpress.ds.freight.query"
      }
      ["ali_res"]=>
      array(1) {
        ["error_response"]=>
        array(4) {
          ["type"]=>
          string(3) "ISV"
          ["code"]=>
          string(16) "MissingParameter"
          ["msg"]=>
          string(100) "The input parameter “access_token” that is mandatory for processing this request is not supplied"
          ["request_id"]=>
          string(25) "21014bee1759689502444316723"
        }
      }
    }

    We did not note there is any change of this plugin, could you please have a check if there is any change with the policy or API rules on Aliexpress?

    Or, any suggestions to fix the issue?

    Thanks

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