Skip to content

[OData Handler] Invalid OData URI generation #782

Open
@cmwendwa

Description

@cmwendwa

Ran the following query against Microsoft Graph Endpoint:

query getSubscriptions {
  subscriptions {
    id
    applicationId
  }
}

The response:

{
  "errors": [
    {
      "message": "The query specified in the URI is not valid. Query option 'Select' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "subscriptions"
      ],
      "extensions": {
        "code": "",
        "message": "The query specified in the URI is not valid. Query option 'Select' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.",
        "innerError": {
          "date": "2020-07-30T08:14:49",
          "request-id": "36350489-a989-4b22-b2d5-fc1acea0b312"
        }
      }
    }
  ],
  "data": {
    "subscriptions": null
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions