You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete-BetaWorkItem & Complete-WorkItem which call API requests with no body is not sending the Content-Type: "application/json" header. This seems to be a recent issue where changes on the API may require this on the request.
When called you will receive a {"errorName":"NotSupportedException","errorMessage":"RESTEASY003065: Cannot consume content type","trackingId":"7fed46a87c0d4524a777d4f6898cb4c7"}
I've worked around this by calling the endpoints using Invoke-RestMethod and supplying the Content-Type header.
The text was updated successfully, but these errors were encountered:
bcariaga-cdw
changed the title
Methods are not sending Content-Type header
Complete-BetaWorkItem & Complete-WorkItem Methods are not sending Content-Type header
Jun 26, 2024
Complete-BetaWorkItem & Complete-WorkItem which call API requests with no body is not sending the Content-Type: "application/json" header. This seems to be a recent issue where changes on the API may require this on the request.
When called you will receive a {"errorName":"NotSupportedException","errorMessage":"RESTEASY003065: Cannot consume content type","trackingId":"7fed46a87c0d4524a777d4f6898cb4c7"}
I've worked around this by calling the endpoints using Invoke-RestMethod and supplying the Content-Type header.
The text was updated successfully, but these errors were encountered: