Getting error while connecting Azure Devops OData query

Himanshu Jain (himanshuj) 1 Reputation point
2021-07-06T12:12:39.43+00:00

i am getting below error while connecting odata query

DataSource.Error: Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:
OData Version: 4, Error: The remote server returned an error: (400) Bad Request.
OData Version: 3, Error: The remote server returned an error: (400) Bad Request.
Details:
DataSourceKind=OData
DataSourcePath=URL/_odata/v3.0-preview/TestPoints

OData

let
Source = OData.Feed ("URL/_odata/v3.0-preview/TestPoints?"
&"$apply=filter((TestSuite/TestPlanTitle eq '{TestPlanName}'))"
&"/groupby((Tester/UserName, LastResultOutcome),"
&"aggregate($count as Count)"
&")", null, [Implementation="2.0",OmitValues = ODataOmitValues.Nulls,ODataVersion = 4])
in
Source

https://learn.microsoft.com/en-us/azure/devops/report/powerbi/sample-test-plans-tester-by-outcome?view=azure-devops&tabs=powerbi

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
254 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,556 Reputation points
    2021-07-06T12:20:38.323+00:00

    Seems to be error on Azure Devops side due to access issue. You could post it on Azure DevOps related forum at below:

    https://developercommunity.visualstudio.com/spaces/21/index.html


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    0 comments No comments