Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OData Handler] Invalid OData URI generation #782

Open
cmwendwa opened this issue Jul 30, 2020 · 0 comments
Open

[OData Handler] Invalid OData URI generation #782

cmwendwa opened this issue Jul 30, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@cmwendwa
Copy link

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
  }
}
@ardatan ardatan added the bug Something isn't working label Jul 30, 2020
@theguild-bot theguild-bot mentioned this issue Aug 11, 2022
@theguild-bot theguild-bot mentioned this issue Sep 28, 2023
This was referenced Apr 30, 2024
This was referenced May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants