Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usps "software version is no longer supported" #19

Open
bsdlp opened this issue Aug 16, 2023 · 8 comments
Open

usps "software version is no longer supported" #19

bsdlp opened this issue Aug 16, 2023 · 8 comments

Comments

@bsdlp
Copy link
Contributor

bsdlp commented Aug 16, 2023

adding a usps package gives me this error in the status column:

This Software version is no longer supported.  You must go to the SA web site (www.uspswebtools.com/Shippingassistant) and download the latest version of the Shipping Assistant.
@jat255
Copy link
Owner

jat255 commented Aug 16, 2023

Hmm, I can't reproduce that one. I just tried adding a USPS package on my install (using my existing API key) and it worked as expected.

If you can reproduce the API call that's made here: https://github.com/jat255/PackageMate/blob/master/api_server/3rd-party/trackers.js#L5-L17 with cURL or Postman or something, that might provide some more insight into why it's not working. I'm assuming you set the USPS_USERNAME environment variable appropriately?

@bsdlp
Copy link
Contributor Author

bsdlp commented Aug 16, 2023

yep i replicated the results by manually calling the api with my username

as for username - this is the username for my account on usps.com/developer.usps.com right?

@jat255
Copy link
Owner

jat255 commented Aug 16, 2023

as for username - this is the username for my account on usps.com/developer.usps.com right?

Now that I'm looking at it, I think it's a different thing. The developer portal didn't exist (I don't think) when I first wrote this, so I followed the instructions here:

https://www.usps.com/business/web-tools-apis/track-and-confirm-api.htm#_Toc120028072

That includes a link to register for the web tools access at this address: https://registration.shippingapis.com/

I registered in Sept. 2020, and they sent me an email with a username and password that they create. I haven't had to use the password for anything, just the username.

@bsdlp
Copy link
Contributor Author

bsdlp commented Aug 17, 2023

great - i think that's the right track. i registered for an account there. without access to the track api, i now get API Authorization failure. User <userid> is not authorized to use API TrackV2. I've filed a support ticket as per their email to get access so i presume i'll have things working whenever they get back to me

thanks for your help!

@mdarl24
Copy link

mdarl24 commented Sep 22, 2023

great - i think that's the right track. i registered for an account there. without access to the track api, i now get API Authorization failure. User <userid> is not authorized to use API TrackV2. I've filed a support ticket as per their email to get access so i presume i'll have things working whenever they get back to me

thanks for your help!

Have they given you access? I sent in a ticket 2 months ago and have followed up, and I haven't gotten any response beyond the first email saying they don't automatically give that access anymore and give us these 10-15 or so pieces of information to ask for it.

@jat255
Copy link
Owner

jat255 commented Apr 13, 2024

@bsdlp and @mdarl24 I've been trying to migrate the USPS scraper to use their newer API, but have not been successful getting any sort of support, either at their stated email support address, or via Github issue (USPS/api-examples#28), so unfortunately I think the old way will remain the only possible option for the foreseeable future. 🫤

@sochartgit
Copy link

so this project is still alive or ?

@jat255
Copy link
Owner

jat255 commented Aug 21, 2024

@sochartgit It's as alive as you want it to be? The original code works and I use it whenever I'm receiving a package. My project isn't exactly responsible for USPS not giving access to/supporting their API...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants