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

Add Content-Type to the GH PR api call #8275

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

weshaggard
Copy link
Member

We were hitting an error caused by some recent GH changes. Based on https://github.com/orgs/community/discussions/110246 you now need to explicitly set Content-Type in the headers to avoid the error:

The given key 'Content-Type' was not present in the dictionary.

Fixes #8269

We were hitting an error caused by some recent GH changes. Based
on https://github.com/orgs/community/discussions/110246 you now
need to explicitly set Content-Type in the headers to avoid the error:

The given key 'Content-Type' was not present in the dictionary.
@weshaggard weshaggard requested a review from a team as a code owner May 15, 2024 21:45
@weshaggard
Copy link
Member Author

tested locally to merge Azure/azure-sdk#7564

@weshaggard weshaggard merged commit b9de042 into Azure:main May 16, 2024
10 checks passed
@weshaggard weshaggard deleted the FixQueryApi branch May 16, 2024 15:58
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

Successfully merging this pull request may close these issues.

The eng-common sync pipeline fails to merge the PR
2 participants