Occasional OAuth Error: "The application cannot be loaded, it may be misconfigured."

Occasional OAuth Error: "The application cannot be loaded, it may be misconfigured."

ravigoel
Shopify Partner
2 0 0
Hello Shopify Community,
 
I am encountering an intermittent issue with the OAuth flow for my Shopify app. Occasionally, when redirecting to the authorization URL, I receive the following error:
 
 
"The application cannot be loaded, it may be misconfigured. Please contact the application author."
 
However, if I retry the authorization process, it successfully redirects to the auth callback URL without any issues.
 
Here are the scopes defined in both my toml file and .env file:
 
read_orders,write_orders,read_fulfillments,write_fulfillments,read_products,write_products,read_inventory,write_inventory,read_price_rules,write_price_rules,read_gift_cards,write_gift_cards,read_customers,read_script_tags,write_script_tags,read_product_listings,read_collection_listings,read_assigned_fulfillment_orders,write_assigned_fulfillment_orders,read_merchant_managed_fulfillment_orders,write_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders,write_third_party_fulfillment_orders,read_order_edits,write_order_edits,read_draft_orders,read_shipping,write_customers,write_draft_orders,write_shipping
 
Has anyone else faced this issue, or does anyone have any insights into what might be causing this intermittent OAuth error? Any suggestions on how to troubleshoot or resolve this would be greatly appreciated.
 
 
Thank you!
Replies 0 (0)