How to find where postMessage came from?How do JavaScript closures work?How do I check if an element is hidden in jQuery?How do I remove a property from a JavaScript object?How do I redirect to another webpage?How do I include a JavaScript file in another JavaScript file?How to check whether a string contains a substring in JavaScript?How to decide when to use Node.js?How do I remove a particular element from an array in JavaScript?Find the version of an installed npm packageHow do I return the response from an asynchronous call?

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Does Doodling or Improvising on the Piano Have Any Benefits?

In One Punch Man, is King actually weak?

Why is participating in the European Parliamentary elections used as a threat?

Is it feasible to let a newcomer play the "Gandalf"-like figure I created for my campaign?

What is the meaning of the following sentence?

Would a primitive species be able to learn English from reading books alone?

Can I run 125kHz RF circuit on a breadboard?

What is the meaning of "You've never met a graph you didn't like?"

Is there a RAID 0 Equivalent for RAM?

How to leave product feedback on macOS?

What (the heck) is a Super Worm Equinox Moon?

How can I safely use "Thalidomide" in my novel while respecting the trademark?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?

How do I fix the group tension caused by my character stealing and possibly killing without provocation?

Should I assume I have passed probation?

Using streams for a null-safe conversion from an array to list

How would you translate "more" for use as an interface button?

Anime with legendary swords made from talismans and a man who could change them with a shattered body

Why is the principal energy of an electron lower for excited electrons in a higher energy state?

Check if object is null and return null

Make a Bowl of Alphabet Soup

Limit max CPU usage SQL SERVER with WSRM



How to find where postMessage came from?


How do JavaScript closures work?How do I check if an element is hidden in jQuery?How do I remove a property from a JavaScript object?How do I redirect to another webpage?How do I include a JavaScript file in another JavaScript file?How to check whether a string contains a substring in JavaScript?How to decide when to use Node.js?How do I remove a particular element from an array in JavaScript?Find the version of an installed npm packageHow do I return the response from an asynchronous call?













0















I'm building a Shopify App using React/Redux. Everything is fine if I run it outside of the Shopify Admin dashboard but when I load it up as an embedded app in the Shopify Admin dashboard, it loads the app in an iframe and I get this postMessage error:



enter image description here



I have no idea where it's coming from but it only and have no idea how to find this. I do not perform any postMessage calls in my code at all so I'm assuming it's a dependency doing something or maybe create-react-app has something going on under the hood.



The console error does not give me a file either so I can't even debug it.



Any ideas on how to debug this?










share|improve this question


























    0















    I'm building a Shopify App using React/Redux. Everything is fine if I run it outside of the Shopify Admin dashboard but when I load it up as an embedded app in the Shopify Admin dashboard, it loads the app in an iframe and I get this postMessage error:



    enter image description here



    I have no idea where it's coming from but it only and have no idea how to find this. I do not perform any postMessage calls in my code at all so I'm assuming it's a dependency doing something or maybe create-react-app has something going on under the hood.



    The console error does not give me a file either so I can't even debug it.



    Any ideas on how to debug this?










    share|improve this question
























      0












      0








      0








      I'm building a Shopify App using React/Redux. Everything is fine if I run it outside of the Shopify Admin dashboard but when I load it up as an embedded app in the Shopify Admin dashboard, it loads the app in an iframe and I get this postMessage error:



      enter image description here



      I have no idea where it's coming from but it only and have no idea how to find this. I do not perform any postMessage calls in my code at all so I'm assuming it's a dependency doing something or maybe create-react-app has something going on under the hood.



      The console error does not give me a file either so I can't even debug it.



      Any ideas on how to debug this?










      share|improve this question














      I'm building a Shopify App using React/Redux. Everything is fine if I run it outside of the Shopify Admin dashboard but when I load it up as an embedded app in the Shopify Admin dashboard, it loads the app in an iframe and I get this postMessage error:



      enter image description here



      I have no idea where it's coming from but it only and have no idea how to find this. I do not perform any postMessage calls in my code at all so I'm assuming it's a dependency doing something or maybe create-react-app has something going on under the hood.



      The console error does not give me a file either so I can't even debug it.



      Any ideas on how to debug this?







      javascript node.js reactjs redux shopify






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 3:22









      PGTPGT

      418420




      418420






















          1 Answer
          1






          active

          oldest

          votes


















          0














          In most cases this message can mean two things:



          1) You have not whitelisted the URL from the APP dashboard



          2) Shopify can't connect to the URL address.



          How to debug it?



          Check your whitelisted URLs and see if there is https://l46-vc-01.localtunnel.me added there. And confirm that this is a static URL address and does not change each time you fire the tunnelling.



          Check if you can access the URL address using a service that is not tied to your local machine. ( example https://downforeveryoneorjustme.com/ or https://geopeeker.com/ etc... )






          share|improve this answer























          • They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

            – PGT
            Mar 7 at 15:40












          • Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

            – PGT
            Mar 7 at 20:14










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55035562%2fhow-to-find-where-postmessage-came-from%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          In most cases this message can mean two things:



          1) You have not whitelisted the URL from the APP dashboard



          2) Shopify can't connect to the URL address.



          How to debug it?



          Check your whitelisted URLs and see if there is https://l46-vc-01.localtunnel.me added there. And confirm that this is a static URL address and does not change each time you fire the tunnelling.



          Check if you can access the URL address using a service that is not tied to your local machine. ( example https://downforeveryoneorjustme.com/ or https://geopeeker.com/ etc... )






          share|improve this answer























          • They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

            – PGT
            Mar 7 at 15:40












          • Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

            – PGT
            Mar 7 at 20:14















          0














          In most cases this message can mean two things:



          1) You have not whitelisted the URL from the APP dashboard



          2) Shopify can't connect to the URL address.



          How to debug it?



          Check your whitelisted URLs and see if there is https://l46-vc-01.localtunnel.me added there. And confirm that this is a static URL address and does not change each time you fire the tunnelling.



          Check if you can access the URL address using a service that is not tied to your local machine. ( example https://downforeveryoneorjustme.com/ or https://geopeeker.com/ etc... )






          share|improve this answer























          • They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

            – PGT
            Mar 7 at 15:40












          • Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

            – PGT
            Mar 7 at 20:14













          0












          0








          0







          In most cases this message can mean two things:



          1) You have not whitelisted the URL from the APP dashboard



          2) Shopify can't connect to the URL address.



          How to debug it?



          Check your whitelisted URLs and see if there is https://l46-vc-01.localtunnel.me added there. And confirm that this is a static URL address and does not change each time you fire the tunnelling.



          Check if you can access the URL address using a service that is not tied to your local machine. ( example https://downforeveryoneorjustme.com/ or https://geopeeker.com/ etc... )






          share|improve this answer













          In most cases this message can mean two things:



          1) You have not whitelisted the URL from the APP dashboard



          2) Shopify can't connect to the URL address.



          How to debug it?



          Check your whitelisted URLs and see if there is https://l46-vc-01.localtunnel.me added there. And confirm that this is a static URL address and does not change each time you fire the tunnelling.



          Check if you can access the URL address using a service that is not tied to your local machine. ( example https://downforeveryoneorjustme.com/ or https://geopeeker.com/ etc... )







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 7 at 8:05









          dripdrip

          6,08411534




          6,08411534












          • They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

            – PGT
            Mar 7 at 15:40












          • Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

            – PGT
            Mar 7 at 20:14

















          • They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

            – PGT
            Mar 7 at 15:40












          • Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

            – PGT
            Mar 7 at 20:14
















          They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

          – PGT
          Mar 7 at 15:40






          They're all there. I'm thinking I'll have to do a masked redirect or a URL rewrite now

          – PGT
          Mar 7 at 15:40














          Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

          – PGT
          Mar 7 at 20:14





          Found the issue, Shopify actually performs a postMessage to the iframe after it loads for some reason.

          – PGT
          Mar 7 at 20:14



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55035562%2fhow-to-find-where-postmessage-came-from%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          1928 у кіно

          Захаров Федір Захарович

          Ель Греко