-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Microsoft.Azure.EventGrid - Can not send CloudEvent using EventGridClient #10684
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl. |
Thanks for reporting this issue. We are investigating/triaging it. |
We added this to our backlog and will address it appropriately. thanks |
@ahamad-MS is there a service issue associated with this issue? |
@SeanFeldman sure. issue reopened. |
Update: this issue is under discussion with Azure Data Plane SDK team for proper addressing this for customer. No ETA yet for resolving this issue as it is in the design phase. |
@ahamad-MS any updates here? Basic usage from this sample is failing and I'm not finding a workaround. @susosuso did you find a workaround? |
Hello @ppatino .. The only workaround here is using pure http APIs to send your events while getting cloud event support in SDK. The earlier ETA for .NET and JAVA SDKs is mid-end of Sep (provided no blocker issues). Python and Typescript support will hopefully be available earlier on mid-end of Aug (again, provided no blocker issues). |
This issue has been fixed in our new generation of SDK https://www.nuget.org/packages/Azure.Messaging.EventGrid/4.0.0-beta.2 . Please confirm you no longer have this issue. |
Hi, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
We have a EventGrid Topic setup with CloudEvent as input schema. When trying to send a CloudEvent using EventGridClient, we get the below error.
Microsoft.Rest.Azure.CloudException: The Content-Type header is either missing or it doesn't have a valid value. The content type header must either be application/cloudevents+json; charset=utf-8 or application/cloudevents-batch+json; charset=UTF-8.
Looks like the client code force content-type to be application/json:
azure-sdk-for-net/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClient.cs
Line 350 in bdc5c7a
Not quite sure if this is a bug or feature request... What is the recommended way to send CloudEvent to event grid?
The text was updated successfully, but these errors were encountered: