Skip to content

Missing if-match header in the CSDL metadata #463

Open

Description

@peombwa

The CSDL is missing if-match header that's required when updating certain resources. The header should ideally be annotated by the API owners in their CSDL if it is required. The absence of these headers results in errors for customers consuming SDKs built on top of the CSDL.

The following resources are currently missing an If-Match header in the service description:

Originally opened at microsoftgraph/msgraph-sdk-powershell#2328.

Activity

  1. irvinesunday commented on Nov 1, 2023

    @irvinesunday
    Contributor

    Annotation needed to be updated for the two entities:

     <Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
      <Record>
        <PropertyValue Property="CustomHeaders">
          <Collection>
            <Record>
              <PropertyValue Property="Name" String="If-Match" />
              <PropertyValue Property="Description" String="ETag value." />
              <PropertyValue Property="Required" Bool="true" />
            </Record>
          </Collection>
        </PropertyValue>
      </Record>
    </Annotation>
  2. added
    priority:p2
    Area: Annotations
    on Nov 1, 2023
  3. TaroxAG commented on May 10, 2024

    @TaroxAG

    Irvine Sunday (@irvinesunday) do you have an update on the issue?

  4. KarelGordts commented on Sep 17, 2024

    @KarelGordts

    Irvine Sunday (@irvinesunday) Is there any update on this issue ?

  5. reinoutD commented on Nov 6, 2024

    @reinoutD

    I'm afraid there isn't an update on this issue yet?

  6. dracon80 commented on Mar 26, 2025

    @dracon80

    18 Months and still no fix? Come on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: AnnotationsToTriagemetadata-issue-upstreampriority:p2

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions