Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Error: API Authorization failure. ExpressMailLabel is not a valid API name for this protocol. #61

Open
kennj2016 opened this issue Mar 15, 2021 · 6 comments

Comments

@kennj2016
Copy link

When I run open label example. I got an error "Error: API Authorization failure. ExpressMailLabel is not a valid API name for this protocol."

@VinceG
Copy link
Owner

VinceG commented Mar 15, 2021

@kennj2016 what version are you using?

@kennj2016
Copy link
Author

@VinceG I'm using version ^1.1 for vinceg/usps-php-api

@VinceG
Copy link
Owner

VinceG commented Mar 15, 2021

@kennj2016 use 1.0.4

v1.1 was released yesterday in preparation for USPS change coming in June

"Effective June 24th, 2021, Web Tools will remove support for all unsecure HTTP endpoints. After this change, all requests to an unsecure HTTP endpoint will fail when attempting to access the Web Tools APIs and integrators may see an error message"

@kennj2016
Copy link
Author

@VinceG , How to I can test in local?

@VinceG
Copy link
Owner

VinceG commented Mar 16, 2021

@kennj2016 test what? when installing with composer just do composer require vinceg/usps-php-api:^1.0.4

@kennj2016
Copy link
Author

@VinceG althought I downgraded to 1.0.4 but still get an error "Error: API Authorization failure. ExpressMailLabel is not a valid API name for this protocol."
Not sure due to my account still is test mode.

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

No branches or pull requests

2 participants