Skip to content

Is there anybody also have tracking problem with this tracking request #110

Open

Description

@pumaatlarge

I keep getting errors as below, and FedEx API team doesn't know what's going on.
The tracking number in the example(781820562774) works, but all my other real tracking numbers got the failure while they can be tracked on fedex.com

Notification Code: 7025
Notification Message: Sorry, we are unable to process your tracking request. Please retry later, or contact Customer Service at 1.800.Go.FedEx(R) 800.463.3339.

Activity

  1. mkfiddle commented on Apr 23, 2019

    @mkfiddle

    @pumaatlarge Are you sure you're using the correct carriercode? I think by default it's set to Fedex Express service, wheras you are probably using a different service. For example, I had Fedex Ground so I had to use

    track.SelectionDetails.CarrierCode = "FDXG"

    in order to get rid of that error.

    You can find reference to the various service and their corresponding codes on page 20 of this PDF

  2. pumaatlarge commented on Apr 23, 2019

    @pumaatlarge
    Author

    @mkfiddle Thank you so much. I can not believe that I used track.CarrierCode='FDXG' but forgot to include the SelectionDetails. I spent a couple of hours with different FedEx tech support representative and have no clue. It's weird though the example tracking number works on track.CarrierCode='FDXG"

  3. Helix31522 commented on Apr 27, 2019

    @Helix31522

    @mkfiddle, I have a question that I hope you can help with.

    Please see the code below and the response below that. I indicate that the tracking number is Express (FDXE), but the api returns ground. Would you please take a look and tell me what I'm doing wrong. Thanks

    `
    from fedex.config import FedexConfig
    CONFIG_OBJ = FedexConfig(key='mykey',
    password='mypassword',
    account_number='myaccount',
    meter_number='mymeter')

    from fedex.services.track_service import FedexTrackRequest

    track = FedexTrackRequest(CONFIG_OBJ)
    tracking_num = '783822991457'

    track.SelectionDetails.PackageIdentifier.Type = 'TRACKING_NUMBER_OR_DOORTAG'
    track.SelectionDetails.PackageIdentifier.Value = tracking_num
    track.SelectionDetails.CarrierCode = 'FDXE'

    track.send_request()
    print(track.response)

    `

    (reply){ HighestSeverity = "SUCCESS" Notifications[] = (Notification){ Severity = "SUCCESS" Source = "trck" Code = "0" Message = "Request was successfully processed." LocalizedMessage = "Request was successfully processed." }, Version = (VersionId){ ServiceId = "trck" Major = 10 Intermediate = 0 Minor = 0 } CompletedTrackDetails[] = (CompletedTrackDetail){ HighestSeverity = "SUCCESS" Notifications[] = (Notification){ Severity = "SUCCESS" Source = "trck" Code = "0" Message = "Request was successfully processed." LocalizedMessage = "Request was successfully processed." }, DuplicateWaybill = False MoreData = False TrackDetailsCount = 0 TrackDetails[] = (TrackDetail){ Notification = (Notification){ Severity = "FAILURE" Source = "trck" Code = "7025" Message = "Sorry, we are unable to process your tracking request. Please retry later, or contact Customer Service at 1.800.Go.FedEx(R) 800.463.3339." LocalizedMessage = "Sorry, we are unable to process your tracking request. Please retry later, or contact Customer Service at 1.800.Go.FedEx(R) 800.463.3339." } TrackingNumber = "783822991457" TrackingNumberUniqueIdentifier = "12018~783822991457~FDEG" StatusDetail = (TrackStatusDetail){ Location = (Address){ Residential = False } } CarrierCode = "FDXG" OperatingCompanyOrCarrierDescription = "FedEx Ground" Service = (TrackServiceDescriptionDetail){ Type = "FEDEX_GROUND" } PackageSequenceNumber = 0 PackageCount = 0 ShipTimestamp = 2018-11-16 00:00:00 DeliveryAttempts = 0 TotalUniqueAddressCountInConsolidation = 0 DeliveryOptionEligibilityDetails[] = (DeliveryOptionEligibilityDetail){ Option = "INDIRECT_SIGNATURE_RELEASE" Eligibility = "INELIGIBLE" }, (DeliveryOptionEligibilityDetail){ Option = "REDIRECT_TO_HOLD_AT_LOCATION" Eligibility = "INELIGIBLE" }, (DeliveryOptionEligibilityDetail){ Option = "REROUTE" Eligibility = "INELIGIBLE" }, (DeliveryOptionEligibilityDetail){ Option = "RESCHEDULE" Eligibility = "INELIGIBLE" }, }, }, }

  4. radzhome commented on Feb 20, 2020

    @radzhome
    Member

    Was this ever resolved?

  5. lilej7176 commented on Aug 15, 2020

    @lilej7176

    Hello

    Thanks for building!

    I am also having issues with changing the carrier code. When I make an edit to FedEx SmartPost (“FDXS”), my query errors out. It states that aids encountered an error validating your data against this service. That “FDXS” is not a valid facet.

    I’ve only added the following line to the script

    track.SelectionDetails.CarrierCode = ‘FDXS’

  6. amreshgiri-coditas commented on Oct 9, 2020

    @amreshgiri-coditas

    This should be clearly mentioned somewhere in the documentation as I faced this same issue which got solved only after seeing this post :(

  7. dmellstrom commented on Dec 10, 2020

    @dmellstrom

    @lilej7176
    I was also unable to track FDXS (SmartPost) shipments, even though such requests are supported through FedEx's Web Services API.
    I ended up ignoring this project and building SOAP requests myself because I didn't feel like working around this issue.

  8. ssuckow commented on Apr 16, 2021

    @ssuckow

    I was running into the same issue. This discussion put me on the right track and just has one error. I was able to get it to work using FXSP instead of FDXS.
    track.SelectionDetails.CarrierCode = 'FXSP'

  9. adeanadean commented on Oct 6, 2022

    @adeanadean

    I am trying to create a shipment tracking using fedex api but I am unsure how to pip install the appropriate package/library. It looks like the pip install fedex won't work for anyone. Any ideas how to make this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions