Skip to content

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

Merged
weshaggard merged 1 commit intoAzure:mainfrom
weshaggard:FixQueryApi
May 16, 2024
Merged

Add Content-Type to the GH PR api call#8275
weshaggard merged 1 commit intoAzure:mainfrom
weshaggard:FixQueryApi

Conversation

@weshaggard
Copy link
Copy Markdown
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
Copy Markdown
Member Author

tested locally to merge Azure/azure-sdk#7564

Comment thread eng/scripts/Verify-And-Merge-PRs.ps1
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