web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Getting error in topic...
Copilot Studio
Unanswered

Getting error in topic, variable is being set to incorrect type, Assigned Record , expected String

(3) ShareShare
ReportReport
Posted on by

I am building a bot in Copilot studio and using Parse Value to parse Jason in topic. Using get schema from sample. When I am trying to store output json in variable getting error "variable is being set to incorrect type, Assigned Record , expected String"

Variable type is Record and output of parse value is also valid Record, not sure why variable is expecting string?

Also variable was never used before to store string.

Note that topic works as expected and returns response but it is not allowing me to publish bot due to error.

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @SamirPathak 

    Are you using any PowerFx expression to parse JSON data and store it in the variable?

  • Robulane Profile Picture
    on at

    Hey, did you check "Receive values from other topics" or "Return values to original topics" in the variable properties ? If yes, try to un-check, save, check again, save. Let me know if this helps.

  • SamirPathak Profile Picture
    on at

    Both options are unchecked, do I need to keep them checked?

  • SamirPathak Profile Picture
    on at

    No I am using Parse Value action to parse JSON.

  • toya0324 Profile Picture
    11 on at

    Looks like this was never resolved.

  • GG-21081205-0 Profile Picture
    on at
    Having the same issue, which is blocking our work completely. Any progress?

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 270 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 181 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard