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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Service Now GetKnowled...
Power Automate
Unanswered

Service Now GetKnowledgeArticles action rank property data type error

(0) ShareShare
ReportReport
Posted on by 25

I am trying to use ServiceNow GetKnowledgeArticles action from Power Automate flow but the flow run fails with the below error

 

The API 'service-now' returned an invalid response for workflow operation 'Get_Knowledge_Articles' of type 'OpenApiConnection'. Error details: 'The API operation 'GetKnowledgeArticles' requires the property 'body/articles/0/rank' to be of type 'Integer' but is of type 'Float'.'

 

From the servicenow connector article ServiceNow - Connectors | Microsoft Learn data type of Rank property is of type integer.

How do I resolve the issue,

 

Regards

Sriram.V

Categories:
I have the same question (0)
  • HenryJammes Profile Picture
    Microsoft Employee on at

    I initially had the same error but got it fixed by putting the input query in quotes:

     

    HenryJammes_0-1704292150297.png

     

     

     

  • sriram_v Profile Picture
    25 on at

    Hi Henry

     

    Thanks for the suggestion. I tried adding the query in quotes but still getting the same error.

     

    sriram_v_0-1704301193084.png

     

     

    Sriram.V

  • HenryJammes Profile Picture
    Microsoft Employee on at

    You're right, this doesn't fix the issue, the symptom disappears because there are no results.

    It looks like the ServiceNow Knowledge API doesn't return data in the expected format anymore. Maybe a breaking change on their side, I don't know.

     

    I would suggest to raise a support request for this: Get Help + Support in Power Platform - Power Platform | Microsoft Learn

     

    In the meantime, perhaps try to make a direct HTTP request to achieve the same with the HTTP connector or with an custom connector? The API appears to be documented here: Knowledge Management REST API (servicenow.com)

  • sriram_v Profile Picture
    25 on at

    Seems the issue is fixed now. I am able to get knowledge base articles from Service Now using  ServiceNow GetKnowledgeArticles action.

     

    Regards

    Sriram.V

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 780

#2
Valantis Profile Picture

Valantis 668

#3
Haque Profile Picture

Haque 601

Last 30 days Overall leaderboard