Home > Mobile >  Shopify: There’s no page at this address Check the URL and try again, or use the search bar to find
Shopify: There’s no page at this address Check the URL and try again, or use the search bar to find

Time:07-13

I’m new to Shopify App development. I’ve developed an app using a php template provided by shopify. It’s using Laravel & React. It’s enter image description here

Along with console error:

GET https://mystore.myshopify.com/admin/apps/40aac89c4c56232219d0f1f75a1f2ae7/?hmac=68236dae6688aafd05925cf409dfff0965236542401999f8ff47decd8b942d&host=cW9kZWFuYWx5dGljcy5JKihgZnkuY29tL2FkbWlu&shop=mystore.myshopify.com&timestamp=1657698129 404

CodePudding user response:

About that console error you need to add this header on top of the page in views top_level.blade.php

<?php
  $domain= $shop ?? Auth::user()->name ; ; // loged-in shopify store url example.myshopify.com
  header("Content-Security-Policy: frame-ancestors https://".$domain." "."https://admin.shopify.com");
?>

This will resolve the does not match the recipient window's origin error.

After that try to open the app again or you can remove the entry from db and install the app again hope that will help.

  • Related