Private App suddenly getting a redirect to a login page when trying to call certain APIs

Nicholas_Piasec
Shopify Partner
12 0 2

As of around 11 a.m. Eastern, it seems that our older clients using Basic Authentication are getting a 301 redirect to an oauth page when attempting to POST to an API such as /admin/api/2021-01/orders/{order_id}/fulfillments/{fulfillment_id}/open.json or /admin/api/2021-01/orders/{order_id}/fulfillments/{fulfillment_id}/complete.json 

The URL contains references to things like "scope=email https://api.shopify.com/auth/destinations.readonly openid profile https://api.shopify.com/auth/partners.collaborator-relationships.readonly https://api.shopify.com/auth/banking.manage" which all seems unnecessary for something as simple as marking a fulfillment as open or complete.

I can't find anything in the changelog about it. I'll keep banging my head over here. Is anyone else seeing this?

BBrands
New Member
2 0 1

Yes same error with no code changes on our end. We literally have all of our new orders cut off as of approximately 10:40am EST.

0 Likes
Nicholas_Piasec
Shopify Partner
12 0 2

This looks to be related to https://community.shopify.com/c/Shopify-APIs-SDKs/For-security-reasons-requests-using-HTTP-Basic-Aut... ... I was seeing what happens when your code follows the 301 redirect.

0 Likes
doton
Shopify Expert
8 0 0

Shopify have confirmed an issue with their API at Jan 5, 2021 at 05:28 PM https://www.shopifystatus.com/incidents

Admin API not loading correctly for some stores What happened? Some merchants are currently unable to access parts of their Shopify Admin API. We are investigating and will keep you updated.

 

0 Likes