Here’s what I’ve done.
shopify logout
shopify theme push --store mystore --theme mytheme
And I see what :
To run this command, log in to Shopify.
User verification code: XXXX-XXXX
Press any key to open the login page on your browser
Opened link to start the auth process: https://accounts.shopify.com/activate-with-code?device_code%5Buser_code%5D=XXXX-XXXXX
✔ Logged in.
╭─ error ────────────────────────────────╮
│ │
│ [402] API request client error │
│ │
╰────────────────────────────────────────╯
On each of my repositories, I have this problem.