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
Seems the issue is fixed now. I am able to get knowledge base articles from Service Now using ServiceNow GetKnowledgeArticles action.
Regards
Sriram.V
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)
Hi Henry
Thanks for the suggestion. I tried adding the query in quotes but still getting the same error.
Sriram.V
I initially had the same error but got it fixed by putting the input query in quotes:
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1