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 / Power Automate Flow error
Copilot Studio
Unanswered

Power Automate Flow error

(0) ShareShare
ReportReport
Posted on by 22

Hi,

I have created Power automate flow based on instance but getting following error while calling though PVA.

Attached is the screen shot for reference, kindly help in this regard.

 

Error:
Action 'HTTP' failed
 
Error Details:
Value cannot be null. (Parameter 'Cannot pass null model to Validate.')
naveens1_0-1662627572286.png

 

Thanks,

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @naveens1,

     

    It looks like you are inputting an empty value somewhere in your HTTP action.

    Can you open up the flow in edit mode an share a screenshot of the whole flow (with all the actions expended, showing the config). This will help us with troubleshoot for the root cause.

  • naveens1 Profile Picture
    22 on at

    naveens1_0-1662635656478.png

    Hi,

    Thanks for response, attached is the initial flow

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @naveens1,

     

    Looking at the docs I see more properties are in a payload. I would also place the body value between curly brackets btw {}

     

    Here is a sample payload:

    https://docs.microsoft.com/en-us/rest/api/cognitiveservices-qnamaker/qnamaker4.0/runtime/generate-answer?tabs=HTTP#request-body

     

    Can you try it like below?

    {
     "question": "@{triggerBody()['text']}"
    }

     

    Btw, I assume you enter some text in the Input field when running your test? 😉

  • naveens1 Profile Picture
    22 on at

    naveens1_0-1662637920180.png

    How about this attached screen shot as we can't add any qna from 1st oct'22 then what is the alternative for this as we always need the knowledge base as per required domain. Is Language Studio will support qna?

    Kindly clarify...

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @naveens1,

     

    Language Studio has the Question Answering service which you should be able to use. That has a REST API as well, have a look at this doc:

    https://docs.microsoft.com/en-us/rest/api/cognitiveservices/questionanswering/question-answering/get-answers?tabs=HTTP

     

    Btw, you can also migrate your QnA to custom question answering in Language studio:

    https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/question-answering/how-to/migrate-qnamaker

     

     

  • naveens1 Profile Picture
    22 on at

    Hi, thanks for quick response!!

    Now I have another question about is it possible to integrate Language studio with Power Virtual Agent?

    If yes, then okay

    if not, Then how to use PVA for chatbot?

    I guess that PVA is much better than other options in Microsoft Services...  

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @naveens1,

     

    Do you mean using input from users in the chatbot to get answers from the knowledge base and sent them back to the chatbot conversation? If so, yes that should be possible as well with Language studio.

     

    You could interact with that REST API with for example the HTTP action. You could use the input from the user from the Power Virtual Agent as value within the body of that HTTP request. Similar as in the screenshot of your opening post 😀

     

    I would only use the When a Power Virtual Agents calls a flow trigger action, instead of the When a HTTP request is received action.

  • naveens1 Profile Picture
    22 on at

    Hi,

    So which one is better PVA or Language Studio, in terms of capturing sentence context, accuracy/confidence score?

    Universal Sentence Transformer is also better in terms of capturing sentence context.

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @naveens1,

     

    Apologies if my last answer was not clear.

     

    My response was, yes integration between PVA and Language studio is possible (via for example the REST API). So, you don't have to choose between the two 😉

  • naveens1 Profile Picture
    22 on at

    naveens1_0-1662735251866.png

    Looks like flow ran successfully but still last component - Return values to Power Virtual Agents have some issue, kindly look in to it and let me know how to tackle this one.

     

    Thanks,

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 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard