I’m working on a Shopify app and encountering an error when trying to run it. The error message I receive is:
“You can only have one web with the backend role in your app”
I’m working on a Shopify app and encountering an error when trying to run it. The error message I receive is:
“You can only have one web with the backend role in your app”
Hi @hassankazmi22 ,
https://shopify.dev/docs/apps/tools/cli/configuration
name = “whatsapp-chat”
client_id = “63fb9979e35e3f008b805c5a800d2d75”
application_url = “https://governmental-full-thereby-wrap.trycloudflare.com”
embedded = true
[access_scopes]
https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = “write_products”
[auth]
redirect_urls = [
“https://governmental-full-thereby-wrap.trycloudflare.com/auth/callback”,
"
https://governmental-full-thereby-wrap.trycloudflare.com/auth/shopify/callback
“,
"
https://governmental-full-thereby-wrap.trycloudflare.com/api/auth/callback”
]
[webhooks]
api_version = “2023-10”
[pos]
embedded = false
[build]
automatically_update_urls_on_dev = true
dev_store_url = “cc-app-store.myshopify.com”
This is my shopify.app.toml file,
Please review this and update me what is the issue.
Your “shopify.app.toml” file to be mostly correct but here some issue that might be need to be change.
Changes :-
Key Changes :-
Note :-
After making all these changes , validate your configuration file by running the shopify cli command, and if there are still issues the cli will typically provide more specific error messages that can guide further adjustment.
Hope that you can recover your issue soon for further contact whenever you want I’ll be there for you. Good luck!
Regards :
For this, I have found a solution.
Thanks for sharing the solution with me.
I am still facing an issue, if you can solve it please let me know.
When I submit data through this app, it displays a login page that I would like to remove. How can I achieve this?
When I call API using ngrok then it will expire my session how can I resolve that ?
But when I call demo post API then still facing same issue
Hi, how did you fix the first issue? currently experiencing the same problem…
Hi @Alejodev ,
Please Check your folder is it a duplicate folder is there?
Hey @Jitali_2103 , can you please share the solution?
Hello @Adityaaa ,
When I encountered this problem I checked my folders to see if I had duplicate application folders. then I deleted the duplicate folder and resolved that issue.