<?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: &amp;quot;Failed to export batch code&amp;quot; error in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229851#M205</link>
    <description>&lt;P&gt;please update tomorrow my trial version will end&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Nov 2023 12:15:47 GMT</pubDate>
    <dc:creator>anki1212</dc:creator>
    <dc:date>2023-11-24T12:15:47Z</dc:date>
    <item>
      <title>"Failed to export batch code" error</title>
      <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229603#M202</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Failed to export batch code: 401, reason: {"error":{"code":401,"message":"Authentication required","details":{"errorRef":"ae8f7e02-91a2-49de-8283-93fd9a6e3db2","traceId":"209a419afdc425d9d480e35e7719bac3"}}}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;why is this error occurring? please update. I include by a token with opentelementary scopes...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 09:53:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229603#M202</guid>
      <dc:creator>anki1212</dc:creator>
      <dc:date>2023-11-22T09:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: error</title>
      <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229604#M203</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/69112"&gt;@anki1212&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;From the error code it seems there is access issue. have you also included Ingest Metrics v2,&amp;nbsp;&lt;SPAN&gt;Read metrics v2,&amp;nbsp;&lt;/SPAN&gt; Ingest events v2 &amp;amp; Ingest logs v2 along with&amp;nbsp;&lt;SPAN&gt;opentelementary in scope.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not create new with all enabled and see if it is accessible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RN&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 06:05:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229604#M203</guid>
      <dc:creator>RazTN7</dc:creator>
      <dc:date>2023-11-22T06:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: error</title>
      <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229622#M204</link>
      <description>&lt;P&gt;i did try but the same error occurred. I used to follow the same steps given by you. I am using the access token. any following the step that i am using please check this are correct ..&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;export OTEL_EXPORTER_OTLP_ENDPOINT=&lt;A href="https://{environmentid}.apps.dynatrace.com/" target="_blank"&gt;https://{environmentid}.apps.dynatrace.com/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export OTEL_EXPORTER_OTLP_HEADERS=Authorization=***********************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;export OTEL_EXPORTER_OTLP_PROTOCOL=xxxxxxxxxxxxxx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;export OTEL_SERVICE_NAME="xxxxxxxxxxxx"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~/.local/bin/opentelemetry-instrument pm2 start api.py --interpreter python3.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please check.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 09:34:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229622#M204</guid>
      <dc:creator>anki1212</dc:creator>
      <dc:date>2023-11-22T09:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to export batch code" error</title>
      <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229851#M205</link>
      <description>&lt;P&gt;please update tomorrow my trial version will end&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 12:15:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229851#M205</guid>
      <dc:creator>anki1212</dc:creator>
      <dc:date>2023-11-24T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to export batch code" error</title>
      <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229852#M206</link>
      <description>&lt;P&gt;Can you please provide more details.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 12:35:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229852#M206</guid>
      <dc:creator>RazTN7</dc:creator>
      <dc:date>2023-11-24T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to export batch code" error</title>
      <link>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229856#M207</link>
      <description>&lt;P&gt;&amp;nbsp;I am implementing this in the python 3.8 version. please check&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 13:05:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/quot-Failed-to-export-batch-code-quot-error/m-p/229856#M207</guid>
      <dc:creator>anki1212</dc:creator>
      <dc:date>2023-11-24T13:05:26Z</dc:date>
    </item>
  </channel>
</rss>

