You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require_once 'vendor/autoload.php';
use Sauladam\ShipmentTracker\ShipmentTracker;
$tracker = ShipmentTracker::get('FedEx');
$track = $tracker->track('123456789123');
it returns the following error:
Fatal error: Uncaught Exception: Could not fetch tracking data for [123456789123]. in /Users/php/track/sauladam/vendor/sauladam/shipment-tracker/src/Trackers/Fedex.php:30
Stack trace:
#0 /Users/php/track/sauladam/vendor/sauladam/shipment-tracker/src/Trackers/AbstractTracker.php(74): Sauladam\ShipmentTracker\Trackers\Fedex->fetch('https://www.fed...')
#1 /Users/php/track/sauladam/track.php(14): Sauladam\ShipmentTracker\Trackers\AbstractTracker->track('123456789123')
#2 {main}
thrown in /Users/php/track/sauladam/vendor/sauladam/shipment-tracker/src/Trackers/Fedex.php on line 30
Any idea what's going wrong?
Thanks
The text was updated successfully, but these errors were encountered:
Some of the couriers that offer API keys don't offer them to private individuals, only businesses; let's just hope this isn't one of them.
I can understand the desire to prevent abuse and data mining but this is getting really annoying. I don't want emails and text messages. I want a nice human-readable plain-text table that lists the status and estimate of all the shipments I'm expecting as a private individual non-business recipient from multiple couriers aggregated together on my computer. Apparently that's too much to ask nowadays, and I will not easily believe humanity is so brain-rotted by text message updates that I am alone in this.
Using a very simple test script:
it returns the following error:
Any idea what's going wrong?
Thanks
The text was updated successfully, but these errors were encountered: