-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Incorrect value for the content-type for Update list item #6636
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
Yes, should use contentType: "application/json;odata=verbose", otherwise will return 400 error:
|
Hi Jerry! Thanks! |
May need moderator to push update in the documentation. |
Sharing is caring :) we welcome community contributions to the docs ;) Care you submit a PR fixing the issue? |
would love to! Thanks @andrewconnell |
… item - updated the doumentation with the correct value
@andrewconnell PR is submitted and is awaiting a merge :) Thanks! |
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.
The text was updated successfully, but these errors were encountered: