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

Community site session details

Session Id : fiWATwGDhaHO7qkChsTEQO
Power Automate - Using Connectors
Unanswered

Service Now GetKnowledgeArticles action rank property data type error

Like (0) ShareShare
ReportReport
Posted on 1 Jan 2024 10:33:31 by 12

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

I have the same question (0)
  • sriram_v Profile Picture
    12 on 19 Jan 2024 at 15:10:54
    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 04 Jan 2024 at 15:40:55
    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
    12 on 03 Jan 2024 at 17:00:14
    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 03 Jan 2024 at 14:29:21
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard

Featured topics