ApolloError: Variable $appId of type ID! was provided invalid value

Getting error when install app first time and click on the menu of the app (new installed app). then i am getting server error.
ApolloError: Variable $appId of type ID! was provided invalid value

When refreshing the page, no errors are present.

Can anyone check it out.

Thanks

3 Likes

Shopify has broken something. See this thread:

https://community.shopify.com/c/shopify-apps/shopify-embedded-app-giving-the-server-error-toast-message/td-p/2390361

It’s been reported to them but it wouldn’t do any hard for you to add your voice to that so they know it’s widespread.

1 Like

@arjun18 I am also getting the same error. but we did not change anything in the code it’s firing an Error. have you reported it to the Shopify team?

yes i had disused with support

1 Like

So given any solution from Support?

Because I’ve faced same issue..

1 Like

@AgneshV have you tried with the latest versions of Shopify packages?

Yes i’ve tried but issue was still generated.

The previous issue has been resolved, but a new error has emerged under similar circumstances.
“Page Not Found (404)” error occurs.

I’ve just tested our app and didn’t get a 404 but I have seen it in the past many times. It seems intermittent and not restricted to apps as sometimes I get a 404 just logging into a store before even clicking on an app. Sometimes I see a 404 for a few seconds then the page loads.

Are you consistently getting it with your app or is it just occasional? If it’s constant and there’s nothing broken your end, you might want to report it to the Partners team. You could also check your version of App Bridge as I’ve found sometimes with these glitches, some versions work better than others, even sometimes a slightly older version.

Upon the initial installation of the app, a 404 error occurs when attempting to click on the app’s menu for the first time.
When I refresh the page, it working properly.

I just tried an installation of our app and I didn’t get the problem, but we do an app bridge redirect on load or install, so the initial page of our app is not the first page that is actually shown.

Have you tried installing some other apps unrelated to you to see if it does it on those? That’s what I did with the previous error and I sent Shopify screenshots of apps I have nothing to do with that had the same problem.

Hello,

Kindly review the attached video for a 404 issue. I engaged in a conversation with support, but regrettably, they did not provide a resolution.

This issue arises when navigating through the Shopify Partner account but does not occur when accessing the Shopify store admin.

https://www.awesomescreenshot.com/video/24329630?key=b9ea725bdf11b52ee371c52e21e17078

{
  variables: {
    id,
  },
}

in graphql the variables mast wapper “variables”