Skip to main content

Error when trying to open plan selection

  • January 23, 2023
  • 6 replies
  • 923 views

Forum|alt.badge.img

Hi monday team, I trying to open plan selection with
monday.execute('openPlanSelection', {});
and I’m getting and error execute command isn't available or supported for this app feature type. Previously when I was testing this after calling execute method plan selection page was opening. I need to add I’m testing this on development version of the app.

6 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 23, 2023

Hello there @ptkocz and welcome to the community!

In this case, would you be able to send us an email to appsupport@monday.com so we can take a closer look into the issue?

Please include:

  1. The full script you are using
  2. The full response you get
  3. A description of your app (what it does, what features it has and how you are firing that method)
  4. A screen recording (or screenshots) of the steps you are taking so we can see the full picture
  5. Where you are testing it (in your local environment? In the preview screen of your app’s configuration page? In an actual board?)

Looking forward to hearing from you over email 🙂

Cheers,
Matias


  • New Participant
  • January 25, 2023

Hi, I’m having the exact same error, looks like the sdk method execute is being blocked.
We cannot give users the option to select a plan, please help.

Thanks


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 26, 2023

Hello there @neri and welcome to the community!

Our team has found the source of the issue and a fix will be deployed today.

Let me know if you have any questions!

Cheers,
Matias


Zatura24
Forum|alt.badge.img
  • New Participant
  • June 20, 2023

Hi. I know this discussion doesn’t have any activity since January but I’m facing the same issue.

It doesn’t seem to work inside the Settings dialog of an application (feature type: “AppFeatureAccountSettingsView”). This makes sense since the settings view itself is a dialog/modal.

How would one go about dealing with this issue?

Cheers,


  • July 24, 2023

Hi @Zatura24,

This method should not work outside of a production environment – i.e. unless you have the application listed in the marketplace.


dvdsmpsn
Forum|alt.badge.img+1
  • Participating Frequently
  • July 25, 2023

I would go further and say that you need to check whether the marketplace team have added monetisation to you app before triggering that dialog.

You can check all of this using…

query {

    ## Check for monetization
    apps_monetization_status {
        is_supported
    }
    
    ## Check for app subscription
    app_subscription {
        plan_id
        renewal_date
        billing_period
        days_left
        is_trial
    }  
    
    ## Check for monday.com subscription tier
    account {
        id
        name
        slug
        tier
        plan {
            version
            max_users
        }
    }

    ## Check for monday.com email address
    me {
      email
    }
}

If apps_monetization_status.is_supported you can then check the app_subscription for your app and the monday.com. subscription tier, in account.plan`.