microsoft / CopilotStudioSamples

MIT License
291 stars 234 forks source link

Infinite Loading Loop #229

Open RyanNewmanTruGreen opened 1 month ago

RyanNewmanTruGreen commented 1 month ago

I have followed all of the steps in the document on GitHub CoPilot Studio Samples and have run into an infinite loading screen on when clicking on the button generated in our SharePoint page, I feel as though all of the information in the elements file is correct (In step 3 I chose Option 2: manually replace placeholders in elements.xml with actual values. ClientSideComponentProperties accepts an escaped JSON string.)

When inspecting the console on the webpage, these errors are found: “invalid contentSourceFilter config” and “Unsafe attempt to initiate navigation for frame with origin ‘https://...’ from frame with URL 'https://…' The frame attempting navigation of the top-level window is sandboxed, but the flag of ‘allow-top-navigation’ or ‘allow-top-navigation-by-user-activation is not set.”

Rainson12 commented 1 month ago

i have the same issue

adilei commented 1 month ago

Open dev tools, and follow the login.microsoftonline.com url in the error for a page with more details.

See for example here: https://github.com/microsoft/CopilotStudioSamples/issues/231#issuecomment-2263146384