Skip to content

Incorrect value for the content-type for Update list item #6636

@mahajangaurav

Description

@mahajangaurav

The value of the Content-Type header in the Update list item example is incorrect.
It should be: "application/json;odata=verbose"
instead of "application/json"

Sending just application/json results in an error as mentioned in this stack exchange: https://sharepoint.stackexchange.com/questions/239169/the-property-metadata-does-not-exist-on-type-sp-data


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First Issue 🏆Great suggestion for someone from the community to jump in as their first issue to address / fix!area:docsCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devhelp wantedLooking for someone to help with this issue (documentation fix, etc).type:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions