Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

How to set Table variables manually?

(1) ShareShare
ReportReport
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

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics