goshippo / shippo-ruby-client

Shipping API Ruby library (USPS, FedEx, UPS and more)
https://goshippo.com/docs/
76 stars 72 forks source link

Tracking just doesn't work how your docs say it does? #79

Closed kulte closed 7 years ago

kulte commented 7 years ago
Shippo::Track.create(carrier: "shippo", tracking_number: "SHIPPO_DELIVERED")
Shippo::Exceptions::APIServerError: Shippo::Exceptions::APIServerError (Backend responded with an error) 
http_response_message: '400 Bad Request', 
           server_url: 'https://api.goshippo.com/tracks/', 
             response: '{"carrier": ["Invalid value specified for provider 'shippo'"]}'
kulte commented 7 years ago

It specifically says here that you pass "shippo" as the carrier to get the test data. Did you test this?

https://goshippo.com/docs/tracking#example

kulte commented 7 years ago

I also can confirm that I'm on version "2017-08-01" (set in an initializer) and that I'm using a test API token.

mootrichard commented 7 years ago

This is actually a result of a slight misstep on our part with having documentation going live before the feature, the test tracking numbers found in our docs examples should be going live later today, but are not available for all users as of yet. I am sorry for the confusion this has caused, but it should be cleared up later today at the earliest and fully live tomorrow.

mootrichard commented 7 years ago

Test tracking should be live now, so I will close this out. If you run into any other issues, feel free to leave another message here or open a new issue.