Showing results for 
Search instead for 
Did you mean: 


New Community Member
Posted on

I keep receiving this error when attempting to PUT tracking to a transaction:


{"name":"INVALID_TRACKING_NUMBER","message":"The requested resource ID was not found","debug_id":"c61695a45ef48","details":[{"field":"tracker_id","value":"1234-1234","location":"path","issue":"INVALID_TRACKING_INFO"}],"links":[]}


To confirm, this is in live mode, the transaction and tracking are actual numbers I happen to be testing with.


I've tried using the actual carrier, 'OTHER', etc. and nothing is working.


These are the scopes I get back, which I don't think should be interfereing because I haven't seen anything in the Tracking API that requires a specific scope to my knowledge


{'scope': ' openid Braintree:Vault**', 'access_token': '1234', 'token_type': 'Bearer', 'app_id': 'APP-1234', 'expires_in': 31826, 'nonce': '1234'}


I currently only need to use this app to upload tracking from shopify to paypal for a store.  I'm using live mode because shopify doesn't seem to have paypal sandbox or allow me to use sandbox emails.


Any help on why this isn't working?


Here's my code in short:


Python using requests



    url = f"{paypal_transaction_token}-{tracking_number}"

    headers = {
        'Content-Type' : 'application/json',
        'Authorization' : 'Bearer %s' % access_token,
    data = {
    response = requests.put(url, headers=headers, data=json.dumps(data))




Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.