Why am I getting a 422 API request client error on Linux?

Hey Everyone!
I’m new to Shopify, I’m trying to run my project locally on Linux (ubuntu), after logging into the store I’m getting this error. Can anyone please help me out?

Hi @mehdi514

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:

  1. Verify the parameters: Check the format of the parameters you are passing in the API request and make sure that all required values are present.

  2. Check your authentication: Ensure that you are using the correct API key and password and that your API key has not been revoked.

  3. Check your rate limits: Review the rate limits imposed by Shopify and adjust your code accordingly.

  4. Check the Shopify API documentation: Make sure that you are using the correct endpoint for your request and that you are sending the request in the correct format.

I have the same error here

Shopify CLI 3.44.1

OS darwin-arm64

Shell /bin/zsh

Node version v19.7.0

Ruby version 3.2.1

Trying to setup a new development store but everytime i tried ‘shopify theme dev’ command, i have the 422 API Error Message

@jcs1 , same thing over here

I’ve managed to solve the issue this morning following this https://community.shopify.com/topic/1231086

To summarize, logout the theme with Shopify CLI command ‘shopify auth logout’, then logout from shopify and partner dashboards (before check if you have the owner status if it’s a development store). Then login to Shopify and Partners Shopify (using the same account of course) and retry the command ‘shopify theme dev --store {shop}’

On my side, it solves everything.

Good luck