Basic: Send a Post request to create a HTTP log stream HELP

I am getting

{“statusCode”:400,“error”:“Bad Request”,“message”:“Payload validation error: ‘Data does not match any schemas from ‘oneOf’’.”,“errorCode”:“invalid_body”}

My C# code:

        string jsonString = @"

““sink””: {
““httpContentFormat””: ““JSONLINES|JSONARRAY””,
““httpContentType””: ““application/json””,
““httpEndpoint””: ““””

        var client3 = new RestClient("");
        var request3 = new RestRequest("", Method.Post);
        request3.AddHeader("authorization", token);
        RestResponse response3 = client3.Execute(request3);

Fixed- should only have one of those

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.