<?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 Get exceptionTraceId details in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/get-exceptiontraceid-details/m-p/54149#M6200</link>
    <description>&lt;P&gt;I'm getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;module.consumer_stage_catalog.databricks_external_location.catalog: Creating...
╷
│ Error: cannot create external location: AWS IAM role does not have READ permissions on url s3://[bucket name]/catalogs. Please contact your account admin to update the storage credential. PERMISSION_DENIED: Access denied. Cause: 403 Forbidden error from cloud storage provider. exceptionTraceId=[UUID]
│ 
│   with module.consumer_stage_catalog.databricks_external_location.catalog,
│   on .terraform/modules/consumer_stage_catalog/terraform/databricks_catalog.tf line 49, in resource "databricks_external_location" "catalog":
│   49: resource "databricks_external_location" "catalog" {&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I find the logs to look up the details for &lt;FONT face="courier new,courier"&gt;exceptionTraceId&lt;/FONT&gt;? I only see documentation to setup audit logs and billing logs and the docs don't mention exceptions - I don't see schema or examples that include &lt;FONT face="courier new,courier"&gt;exceptionTraceId&lt;/FONT&gt;. This is the result of a Databricks API call and there's no running cluster involved so I can't check the cluster logs.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 00:00:06 GMT</pubDate>
    <dc:creator>dvmentalmadess</dc:creator>
    <dc:date>2023-11-29T00:00:06Z</dc:date>
    <item>
      <title>Get exceptionTraceId details</title>
      <link>https://community.databricks.com/t5/get-started-discussions/get-exceptiontraceid-details/m-p/54149#M6200</link>
      <description>&lt;P&gt;I'm getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;module.consumer_stage_catalog.databricks_external_location.catalog: Creating...
╷
│ Error: cannot create external location: AWS IAM role does not have READ permissions on url s3://[bucket name]/catalogs. Please contact your account admin to update the storage credential. PERMISSION_DENIED: Access denied. Cause: 403 Forbidden error from cloud storage provider. exceptionTraceId=[UUID]
│ 
│   with module.consumer_stage_catalog.databricks_external_location.catalog,
│   on .terraform/modules/consumer_stage_catalog/terraform/databricks_catalog.tf line 49, in resource "databricks_external_location" "catalog":
│   49: resource "databricks_external_location" "catalog" {&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I find the logs to look up the details for &lt;FONT face="courier new,courier"&gt;exceptionTraceId&lt;/FONT&gt;? I only see documentation to setup audit logs and billing logs and the docs don't mention exceptions - I don't see schema or examples that include &lt;FONT face="courier new,courier"&gt;exceptionTraceId&lt;/FONT&gt;. This is the result of a Databricks API call and there's no running cluster involved so I can't check the cluster logs.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 00:00:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/get-exceptiontraceid-details/m-p/54149#M6200</guid>
      <dc:creator>dvmentalmadess</dc:creator>
      <dc:date>2023-11-29T00:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get exceptionTraceId details</title>
      <link>https://community.databricks.com/t5/get-started-discussions/get-exceptiontraceid-details/m-p/54228#M6202</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I had hoped there was a way to see the original exeception to retrieve the &lt;A href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/get-request-ids.html" target="_self"&gt;S3 request id values&lt;/A&gt; so I could open an AWS support ticket, if the IAM identity and denied permission weren't already listed in the original exception. After reading &lt;A href="https://community.databricks.com/t5/data-engineering/error-creating-external-location-in-unity-catalog/td-p/9601" target="_self"&gt;this thread&lt;/A&gt; which mentioned looking up exceptionTraceId in Databricks logs I had hoped that's where I would find the information I needed.&lt;/P&gt;&lt;P&gt;I was asking after I had already investigated both the IAM resource and identity policies, compared them to existing policies that were functioning as well as to the &lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/manage-external-locations-and-credentials.html#create-storage-cred" target="_self"&gt;DBR documentation&lt;/A&gt;, and also used the &lt;A href="https://policysim.aws.amazon.com/home/index.jsp" target="_self"&gt;AWS IAM Policy Simulator&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;As it so happens, I'm pretty sure &lt;A href="https://community.databricks.com/t5/community-discussions/terraform-databricks-storage-credential-has-wrong-external-id/td-p/54153" target="_self"&gt;I did find the problem&lt;/A&gt; after posting this. I'm just waiting for a response to confirm.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, I'd be interested in the relevant thread you mentioned but the link provided just points to the same resource url as the previous link you provided. If you'd be willing to update the post or share the link in a reply I'd love to read more.&lt;/P&gt;&lt;P&gt;If the API team ends up reading this, I'd like to provide the following feedback. Providing the means to access the AWS request and extended request id values would be useful for resolving issues. Especially one like this where the likely cause is a context key that a policy condition relies on. Having the ids required to open up an AWS support case would have allowed me to work with AWS support who are likely to have the context values sent in the request which would have reduced the time to resolution significantly. The only reason I even have an idea why this isn't working is because I happened to notice the External ID value displayed in the list of credentials and that it was different than every other instance.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 16:29:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/get-exceptiontraceid-details/m-p/54228#M6202</guid>
      <dc:creator>dvmentalmadess</dc:creator>
      <dc:date>2023-11-29T16:29:35Z</dc:date>
    </item>
  </channel>
</rss>

