msgraph-metadata
msgraph-metadata copied to clipboard
POST not found for /onenote/sectionGroups/{id}/sectionGroups
For the paths:
me/onenote/sectionGroups/{id}/sectionGroups
and
users/{user-id}/onenote/sectionGroups/{id}/sectionGroups
there is not POST method defined in the OpenAPI description.
Documentation: https://learn.microsoft.com/en-us/graph/api/sectiongroup-post-sectiongroups?view=graph-rest-1.0&tabs=http
Raptor report:
Original HTTP Snippet: POST /v1.0/me/onenote/sectionGroups/{id}/sectionGroups HTTP/1.1 Content-type: application/json Host: graph.microsoft.com Content-Length: 45
{ "displayName": "Section group name" }
Exception while processing /home/vsts/work/1/a/Snippets/create-sectiongroup-from-sectiongroup-v1-httpSnippet. HTTP Method 'POST' not found for path. at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel..ctor(HttpRequestMessage requestPayload, String serviceRootUrl, OpenApiSnippetMetadata openApiSnippetMetadata) in /home/vsts/work/1/s/microsoft-graph-devx-api/CodeSnippetsReflection.OpenAPI/SnippetModel.cs:line 39 at CodeSnippetsReflection.OpenAPI.OpenApiSnippetsGenerator.ProcessPayloadRequest(HttpRequestMessage requestPayload, String language) in /home/vsts/work/1/s/microsoft-graph-devx-api/CodeSnippetsReflection.OpenAPI/OpenAPISnippetsGenerator.cs:line 57 at CodeSnippetsReflection.App.Program.ProcessFile(ISnippetsGenerator generator, String language, String file) in /home/vsts/work/1/s/microsoft-graph-devx-api/CodeSnippetsReflection.App/Program.cs:line 156
Stack trace at CodeSnippetsPipeline.Test.CodeSnippetsPipeline.Test(String httpSnippetFilePath, String language) in /home/vsts/work/1/s/CodeSnippetsPipeline.Test/CodeSnippetsPipeline.cs:line 56 at InvokeStub_CodeSnippetsPipeline.Test(Object, Object, IntPtr*)
at CodeSnippetsPipeline.Test.CodeSnippetsPipeline.Test(String httpSnippetFilePath, String language) in /home/vsts/work/1/s/CodeSnippetsPipeline.Test/CodeSnippetsPipeline.cs:line 56 at InvokeStub_CodeSnippetsPipeline.Test(Object, Object, IntPtr*)