Skip to main content

Notifications

Calling Actions from Copilot Studio
Unanswered

How to set Table variables manually?

Posted on by 29

I have a custom connector to OpenAI and one of the inputs necessary is a list of dictionaries like this:

[{"role": "system", "content": "hello"}, {"role": "system", "content": "message 2"}, etc]

 

When I try to add that I get an error saying "There is an error: 'BindingIncorrectTypeError". See the screenshot:

 

Screenshot 2024-01-29 at 10.54.31.png

Categories:
  • adilei Profile Picture
    adilei on at
    How to set Table variables manually?
    Try building the payload with a PowerFX formula and make sure it correctly identifies the data type
  • CU06071007-0 Profile Picture
    CU06071007-0 2 on at
    How to set Table variables manually?
    Hi mate, did you ever get this working?
  • adilei Profile Picture
    adilei on at
    Re: How to set Table variables manually?

    If you already have the JSON string in-memory, use "Parse value" to parse the string into a table object:

    adilei_0-1706655755113.png

     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update 9/9/24…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,705

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics