Closed FatehAK closed 8 months ago
Hi @FatehAK , sorry you're running into that! I can replicate that behavior under two conditions:
prismatic.init()
, but do not await
a call of prismatic.authenticate()
before trying to run a prismatic.showIntegrations()
. In that case, the SDK doesn't have a valid JWT in hand before running prismatic.showIntegrations()
, resulting in a 404 page.prismatic.showIntegrations
for a customer who does not have embedded designer enabled.Check if either of those are true. A quick way to check if a JWT is set is to look at the iframe that is embedded - the URL of the iframe should have a JWT in its search parameters.
I'm going to add #66 to help throw a more intuitive error for both of these situations.
These errors should be handled more gracefully by #66 . Please reach out if you have any more trouble embedding marketplace!
On using the
showIntegrations
method of the SDK, I'm getting a 404 not found page. But when I copy the iframe url and paste in a new browser tab it opens up properly.Please let me know if any further details are required.