Skip to content
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

Complete-BetaWorkItem & Complete-WorkItem Methods are not sending Content-Type header #85

Open
bcariaga-cdw opened this issue Jun 26, 2024 · 0 comments

Comments

@bcariaga-cdw
Copy link

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.

@bcariaga-cdw 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant