Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Service Now GetKnowledgeArticles action rank property data type error

(0) ShareShare
ReportReport
Posted on by 4

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

  • sriram_v Profile Picture
    4 on at
    Re: Service Now GetKnowledgeArticles action rank property data type error

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

     

    Regards

    Sriram.V

  • HenryJammes Profile Picture
    on at
    Re: Service Now GetKnowledgeArticles action rank property data type error

    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
    4 on at
    Re: Service Now GetKnowledgeArticles action rank property data type error

    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
    on at
    Re: Service Now GetKnowledgeArticles action rank property data type error

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

     

    HenryJammes_0-1704292150297.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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics