[Python/Flask] This app is outdated and will no longer function after Wednesday, September 6, 2023.

Topic summary

A Python/Flask embedded Shopify app is displaying an outdated app error message stating it will stop functioning after September 6, 2023.

Steps Already Taken:

  • Updated frame-ancestors directive headers per Shopify documentation
  • Added App Bridge initialization code to the app’s HTML

Current Behavior:

  • Error no longer appears on the app’s home/index page in admin
  • Error still shows when triggering the app via admin links
  • Error sometimes disappears after reloading a few times

Status: The developer is seeking guidance on what additional solutions can be implemented to fully resolve this persistent error, particularly for admin link-triggered scenarios.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Hey there,

We have an app that we have been using for different admin link triggered embedded apps written in Python/Flask. The app was working properly until a few days ago and now showing “This app is outdated and will no longer function after Wednesday, September 6, 2023.”

I updated the header fields (https://shopify.dev/apps/tools/app-bridge/getting-started/app-setup#set-the-frame-ancestors-directive) and added the app bridge code (https://shopify.dev/apps/tools/app-bridge/getting-started/app-setup#initialize-shopify-app-bridge-in-your-app) but the error is still showing. The error is gone on the index/home page of the app in admin, but the error shows up when using admin link trigger. Sometimes after reloading a few times, the error does not show up. Can someone please guide me on what solution can be added to fix this? This is the code added to the html of the app.

<script src="https://unpkg.com/@shopify/app-bridge@3"></script>
<script>
const AppBridge = window['app-bridge'];

const config = {
    apiKey: "[API_KEY]",
    host: new URLSearchParams(location.search).get("host"),
    forceRedirect: true
};
const app = AppBridge.createApp(config);
</script>