<?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 Getting error while trying to use external MCP in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/getting-error-while-trying-to-use-external-mcp/m-p/139039#M1396</link>
    <description>&lt;P&gt;I have created a mcp connection from marketplace :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conn Name :&amp;nbsp;&lt;SPAN class=""&gt;mcp_brightdata_web_surfer&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;mcp product url :&amp;nbsp;&lt;A href="https://brightdata.com/" target="_blank" rel="noopener"&gt;https://brightdata.com/&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have attached the mcp through playground . But while submitting the prompt I am getting the following error .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Error : The endpoint Llama 4 Maverick has encountered an error and responded with the following:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;{"error_code":"INTERNAL_ERROR","message":"{\"external_model_provider\":\"saas-llm\",\"external_model_error\":{\"error\":{\"type\":\"INTERNAL_ERROR\",\"message\":\"INTERNAL_ERROR: Failed to list tools from external MCP server dbc-45e6c2e8-ccf1.cloud.databricks.com/api/2.0/mcp/external/mcp_brightdata_web_surfer: INTERNAL_ERROR: External MCP server returned error status 502: 502 Bad Gateway\"}}}"}&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;</description>
    <pubDate>Fri, 14 Nov 2025 09:31:30 GMT</pubDate>
    <dc:creator>SandipCoder</dc:creator>
    <dc:date>2025-11-14T09:31:30Z</dc:date>
    <item>
      <title>Getting error while trying to use external MCP</title>
      <link>https://community.databricks.com/t5/generative-ai/getting-error-while-trying-to-use-external-mcp/m-p/139039#M1396</link>
      <description>&lt;P&gt;I have created a mcp connection from marketplace :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conn Name :&amp;nbsp;&lt;SPAN class=""&gt;mcp_brightdata_web_surfer&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;mcp product url :&amp;nbsp;&lt;A href="https://brightdata.com/" target="_blank" rel="noopener"&gt;https://brightdata.com/&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have attached the mcp through playground . But while submitting the prompt I am getting the following error .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Error : The endpoint Llama 4 Maverick has encountered an error and responded with the following:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;{"error_code":"INTERNAL_ERROR","message":"{\"external_model_provider\":\"saas-llm\",\"external_model_error\":{\"error\":{\"type\":\"INTERNAL_ERROR\",\"message\":\"INTERNAL_ERROR: Failed to list tools from external MCP server dbc-45e6c2e8-ccf1.cloud.databricks.com/api/2.0/mcp/external/mcp_brightdata_web_surfer: INTERNAL_ERROR: External MCP server returned error status 502: 502 Bad Gateway\"}}}"}&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;</description>
      <pubDate>Fri, 14 Nov 2025 09:31:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/getting-error-while-trying-to-use-external-mcp/m-p/139039#M1396</guid>
      <dc:creator>SandipCoder</dc:creator>
      <dc:date>2025-11-14T09:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while trying to use external MCP</title>
      <link>https://community.databricks.com/t5/generative-ai/getting-error-while-trying-to-use-external-mcp/m-p/139089#M1397</link>
      <description>&lt;P&gt;Based on the error,&amp;nbsp; which is a&amp;nbsp;"502 Bad Gateway" error indicates that a server sitting as a gateway or proxy received an invalid response from an upstream server. Here, Databricks is trying to communicate with the external MCP server associated with Bright Data, but the MCP server is either down or malfunctioning and cannot fulfill the request.&lt;/P&gt;
&lt;P class="qt3gz91 paragraph"&gt;Possible Root Causes for the Databricks MCP/Bright Data Integration Error:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Bright Data MCP or related APIs might be experiencing downtime or heavy traffic.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;There could be network issues between Databricks and Bright Data (e.g., firewall problems or expired SSL certificates).&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;MCP connection settings may be incorrect, such as wrong credentials, endpoint URL, or missing permissions.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Bright Data might be rate-limiting or throttling requests due to account quotas or resource limitations.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Databricks Playground may not be fully compatible with Bright Data MCP, or there might be unannounced integration changes.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Tool listing failures could result from schema mismatches, API changes, or misconfigured access on Bright Data’s side.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="qt3gz91 paragraph"&gt;Initial Troubleshooting Steps:&lt;/P&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Check Bright Data’s network status page or contact their support to see if there are service outages.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Verify your MCP connection configuration in Databricks; make sure product URL, credentials, and integration settings are correct.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Test accessing the Bright Data MCP API directly (using tools like curl or Postman) to confirm connectivity.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Review your Bright Data account’s quota and ensure you're not exceeding rate limits.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Check for recent updates or changes from Databricks or Bright Data that may affect MCP integration.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;If these steps don't resolve the issue, provide error logs and configuration details to both Bright Data and Databricks support for further assistance.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;&amp;nbsp;&lt;/H3&gt;</description>
      <pubDate>Fri, 14 Nov 2025 13:28:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/getting-error-while-trying-to-use-external-mcp/m-p/139089#M1397</guid>
      <dc:creator>RahulPathakDBX</dc:creator>
      <dc:date>2025-11-14T13:28:21Z</dc:date>
    </item>
  </channel>
</rss>

