<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111282#M7689</link>
    <description>&lt;P&gt;You can always try to send the same payload via Postman and check where the problem is. Generally if there was no error this deployment should be visible there.&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Jan 2019 10:00:05 GMT</pubDate>
    <dc:creator>skrystosik</dc:creator>
    <dc:date>2019-01-09T10:00:05Z</dc:date>
    <item>
      <title>Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111277#M7684</link>
      <description>&lt;P&gt;I am getting 401 Error while pushing the Jenkins event to Saas.The stacktrace is as below:&lt;/P&gt;
&lt;PRE&gt;16:44:25 [INFO] ------------------------------------------------------------------------&lt;BR /&gt;16:44:25 HttpMethod: POST&lt;BR /&gt;16:44:25 URL: https://xxxxxxxx.live.dynatrace.com/api/v1/events...&lt;BR /&gt;16:44:25 Content-type: application/json&lt;BR /&gt;16:44:25 Accept: application/json&lt;BR /&gt;16:44:25 Authorization: *****&lt;BR /&gt;16:44:25 Using authentication: da161e53-ea53-48bd-adb5-fc8da72d461b&lt;BR /&gt;16:44:25 Sending request to url: https://xxxxxxx.live.dynatrace.com/api/v1/events...&lt;BR /&gt;16:44:27 Response Code: HTTP/1.1 400 Bad Request&lt;BR /&gt;16:44:27 ERROR: Build step failed with exception&lt;BR /&gt;16:44:27 hudson.AbortException: Fail: the returned code 400 is not in the accepted range: [[100?399]]&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequestExecution.responseCodeIsValid(HttpRequestExecution.java:306)&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequestExecution.processResponse(HttpRequestExecution.java:316)&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequestExecution.authAndRequest(HttpRequestExecution.java:232)&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequestExecution.call(HttpRequestExecution.java:195)&lt;BR /&gt;16:44:27 Caused: java.lang.IllegalStateException&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequestExecution.call(HttpRequestExecution.java:198)&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequestExecution.call(HttpRequestExecution.java:67)&lt;BR /&gt;16:44:27       at hudson.remoting.LocalChannel.call(LocalChannel.java:45)&lt;BR /&gt;16:44:27       at jenkins.plugins.http_request.HttpRequest.perform(HttpRequest.java:328)&lt;BR /&gt;16:44:27       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)&lt;BR /&gt;16:44:27       at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)&lt;BR /&gt;16:44:27       at hudson.model.Build$BuildExecution.build(Build.java:206)&lt;BR /&gt;16:44:27       at hudson.model.Build$BuildExecution.doRun(Build.java:163)&lt;BR /&gt;16:44:27       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)&lt;BR /&gt;16:44:27       at hudson.model.Run.execute(Run.java:1794)&lt;BR /&gt;16:44:27       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)&lt;BR /&gt;16:44:27       at hudson.model.ResourceController.execute(ResourceController.java:97)&lt;BR /&gt;16:44:27       at hudson.model.Executor.run(Executor.java:429)&lt;BR /&gt;16:44:27 Build step 'HTTP Request' marked build as failure&lt;BR /&gt;16:44:27 [BFA] Scanning build for known causes...&lt;BR /&gt;16:44:27 [BFA] No failure causes found&lt;BR /&gt;16:44:27 [BFA] Done. 0s&lt;BR /&gt;16:44:27 Started calculate disk usage of build&lt;BR /&gt;16:44:27 Finished Calculation of disk usage of build in 0 seconds&lt;BR /&gt;16:44:27 Started calculate disk usage of workspace&lt;BR /&gt;16:44:31 Finished Calculation of disk usage of workspace in  3 second&lt;BR /&gt;16:44:32 Extended Email Publisher is currently disabled in project settings&lt;BR /&gt;16:44:32 Finished: FAILURE&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;PFB Plugin configuration in Jenkins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:44:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111277#M7684</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2023-03-27T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111278#M7685</link>
      <description>&lt;P&gt;According to this doc&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment/events-api/push-deployment-events-from-jenkins/"&gt;https://www.dynatrace.com/support/help/dynatrace-a...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you should not configure authorization section, only headers. &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:20:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111278#M7685</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-01-08T12:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111279#M7686</link>
      <description>&lt;P&gt;Thanks Sebastian. &lt;/P&gt;&lt;P&gt;SaaS Event API works in bidirectional mode. We can use the HTTP GET for Pulling the JSON and consume it for actions.&lt;/P&gt;&lt;P&gt;POST should be used with following setting in Jenkins:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/19415-snap-1.png" /&gt;&lt;/P&gt;&lt;P&gt;Regards, Rajesh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:46:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111279#M7686</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2019-01-08T12:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111280#M7687</link>
      <description>&lt;P&gt;Event will present on host and process tabs in event tab. You have to select proper timeframe that will cover this event.&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2019 06:57:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111280#M7687</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-01-09T06:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111281#M7688</link>
      <description>&lt;P&gt;Hi Sebastian, I can't see the event.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 13:39:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111281#M7688</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2021-08-24T13:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111282#M7689</link>
      <description>&lt;P&gt;You can always try to send the same payload via Postman and check where the problem is. Generally if there was no error this deployment should be visible there.&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2019 10:00:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111282#M7689</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-01-09T10:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Http 400 error while pushing Jenkins build event to Saas cluster</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111283#M7690</link>
      <description>&lt;P&gt;Hi Sebastian, &lt;/P&gt;&lt;P&gt;What are some cools things we can do with integration?&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2019 06:12:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Getting-Http-400-error-while-pushing-Jenkins-build-event-to-Saas/m-p/111283#M7690</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2019-01-14T06:12:34Z</dc:date>
    </item>
  </channel>
</rss>

