无法知道回复原因“找不到该跟踪号。请检查该跟踪号或与发送者联系”

时间:2018-11-21 08:29:37

标签: response fedex

我收到一个响应“此跟踪号找不到。请检查该跟踪号或与发送者联系。”,该对象中存在该跟踪号。 当我执行PHP代码以从Fedex获取跟踪ID(781193603730)状态数据时。但是,当我尝试通过登录他们的门户网站来检查跟踪ID的状态时,我可以得到响应。我需要帮助,请帮助。响应对象=>

stdClass对象 (     [最高严重性] =>成功     [通知] => stdClass对象         (             [严重程度] =>成功             [来源] => trck             [代码] => 0             [消息] =>请求已成功处理。             [LocalizedMessage] =>请求已成功处理。         )

[TransactionDetail] => stdClass Object
    (
        [CustomerTransactionId] => *** Track Request using PHP ***
    )

[Version] => stdClass Object
    (
        [ServiceId] => trck
        [Major] => 16
        [Intermediate] => 0
        [Minor] => 0
    )

[CompletedTrackDetails] => stdClass Object
    (
        [HighestSeverity] => SUCCESS
        [Notifications] => stdClass Object
            (
                [Severity] => SUCCESS
                [Source] => trck
                [Code] => 0
                [Message] => Request was successfully processed.
                [LocalizedMessage] => Request was successfully processed.
            )

        [DuplicateWaybill] => 
        [MoreData] => 
        [TrackDetailsCount] => 0
        [TrackDetails] => stdClass Object
            (
                [Notification] => stdClass Object
                    (
                        [Severity] => ERROR
                        [Source] => trck
                        [Code] => 9040
                        [Message] => This tracking number cannot be found. Please check the number or contact the sender.
                        [LocalizedMessage] => This tracking number cannot be found. Please check the number or contact the sender.
                    )

                [TrackingNumber] => 781193603730
                [StatusDetail] => stdClass Object
                    (
                        [Location] => stdClass Object
                            (
                                [Residential] => 
                            )

                    )

                [PackageSequenceNumber] => 0
                [PackageCount] => 0
                [DeliveryAttempts] => 0
                [TotalUniqueAddressCountInConsolidation] => 0
                [DeliveryOptionEligibilityDetails] => Array
                    (
                        [0] => stdClass Object
                            (
                                [Option] => INDIRECT_SIGNATURE_RELEASE
                                [Eligibility] => INELIGIBLE
                            )

                        [1] => stdClass Object
                            (
                                [Option] => REDIRECT_TO_HOLD_AT_LOCATION
                                [Eligibility] => INELIGIBLE
                            )

                        [2] => stdClass Object
                            (
                                [Option] => REROUTE
                                [Eligibility] => INELIGIBLE
                            )

                        [3] => stdClass Object
                            (
                                [Option] => RESCHEDULE
                                [Eligibility] => INELIGIBLE
                            )

                    )

            )

    )

1 个答案:

答案 0 :(得分:0)

我发现我正在测试的fedex跟踪ID是真实的,并且我用于fedex跟踪api的凭据属于测试/沙盒类型,而不是生产类型。