Skip to main content
Question

Error with Add Search Step link to resource in CLI App


I get this error on my zap when I click “add a search step”.

We can't retrieve information for this step right now

Try reloading the page. If that doesn't work, look for a way to fix this issue in Troubleshoot errors in Zapier or contact Support.

Error code: Could not find information on action <action_name> for app <AppID>@<version>.

 

I’ve built a CLI app and have a field with a dynamic and search values. I’ve redacted some bits, but using the recipe examples in the example apps, it would look like this:

{
  key: 'recipeId',
  label: 'Recipe',
  dynamic: 'recipe.id.name',
  search: 'recipe.id.name',
  type: 'string',
  helpText: "Unique ID of the Recipe",
  required: true,
}

The equivalent of my Recipe resource looks like this:

{
  key: 'recipe',
  noun: 'Recipe',
  list: {
    display: {
      label: 'List Recipes',
      description: 'Lists the Recipes.',
    },
    operation: {
      perform: performList,
      inputFields: [],
      canPaginate: true,
    },
  },
  search: {
    display: {
      label: 'Find Recipes',
      description: 'Finds a Recipe by name.',
    },
    operation: {
      perform: performSearch,
      inputFields: [
        {
          key: 'name',
          label: 'Name',
          type: 'string',
          required: true,
        },
        {
          key: 'isVegan',
          label: 'Vegan Friendly',
          type: 'boolean',
          required: false,
        },
      ],
    },
  },
  sample: sampleData.Recipe,
};

When I build a separate search called “recipe_search” with all the same values, then I use it in the field above (search: “recipe_search.id.name”), then the “Add Search Step” button works perfectly, but fails when I point to the identical resource.

 

Is this a bug or expected behavior?

Did this topic help you find an answer to your question?

2 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @conan-x 

If you are building a Zap app integration using the Zapier Developer Platform, try posting your topic in this Category: Developer Zone


  • Author
  • Beginner
  • 2 replies
  • August 9, 2024

Thanks!