Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Error while trying to select a item from list variable (list contains S3 buckets)

(0) ShareShare
ReportReport
Posted on by 4

My bot is trying to create a node where it will ask customer to select one of the item from list variable which is coming from the previous node. and that list variable contains the list of S3 bucket that we retrieved from our S3 account by using get list of S3 buckets connector. but it is giving the below error in the node while I am creating it.
"There is an error: MissingDisplayName".

Categories:
  • adilei Profile Picture
    on at
    Re: Error while trying to select a item from list variable (list contains S3 buckets)

    That's because the payload returned by the plugin (the "value" table) does not have a "DisplayName" property. Do you know how to check for the payload that's returned by the plugin?

  • Prasad_Raju_P Profile Picture
    4 on at
    Re: Error while trying to select a item from list variable (list contains S3 buckets)

    Thanks adilei. let me elaborate the issue
    Requirement:  I am getting the list of buckets in one node, now user needs to select the bucket from the choice parameters.

    Now I am able to display the list of buckets in the message node but I am unable give that list as a parameter to the question node. it is saying "There is an error: MissingDisplayName". Please find the attached screenshot for the refence.

    Prasad_Raju_P_0-1707299765846.png

     

     


  • adilei Profile Picture
    on at
    Re: Error while trying to select a item from list variable (list contains S3 buckets)

    "Options from a list variable" needs a Table variable with a "DisplayName" key. Here is an example:

     

     actions:
     - kind: SetVariable
     id: setVariable_usLW26
     variable: Topic.Var1
     value: "=[{k1: \"v1\", k2: \"v2\", DisplayName: \"d1\"}, {k1: \"v3\", k2: \"v4\", DisplayName: \"d2\"}]"
    
     - kind: Question
     id: Question_no22f0
     variable: Topic.SelectedOption
     prompt: "Please select one of the following options:"
     entity:
     kind: DynamicClosedListEntity
     items: =Topic.Var1
  • Prasad_Raju_P Profile Picture
    4 on at
    Re: Error while trying to select a item from list variable (list contains S3 buckets)

    This is how my previous node (which is List buckets from S3 plugin) list the bucket names.

    Here is a list of S3 buckets:

    • Bucket1

    • Bucket2


    And I am creating a "Ask a question" node where I will be identifying it as "Options from a list variable".  Then I am adding list variable that I received from my previous node as input and storing the customer selected input in a newly created variable. the moment I added the input and output variables I am getting the that error, I am attaching the reference node error image again.

  • adilei Profile Picture
    on at
    Re: Error while trying to select a item from list variable (list contains S3 buckets)

    How are you displaying the list? Which node are you using?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 23

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard