<?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: Error with calling a machine learning serving endpoint in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9067#M420</link>
    <description>&lt;P&gt;Hi @mavis chen​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2023 05:08:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-04-22T05:08:26Z</dc:date>
    <item>
      <title>Error with calling a machine learning serving endpoint</title>
      <link>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9064#M417</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have registered a spark model and generated a &lt;B&gt;serving endpoint&lt;/B&gt; based on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling the endpoint with the relevant dataframe, somehow I got below errors. Could anyone show me how to tackle it, please?&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Exception: Request failed with status 400, {"error_code": "BAD_REQUEST", "message": "Encountered an unexpected error while evaluating the model. Verify that the serialized input Dataframe is compatible with the model for inference. Error 'requirement failed: Column features must be of type class org.apache.spark.ml.linalg.VectorUDT:struct&amp;lt;type:tinyint,size:int,indices:array&amp;lt;int&amp;gt;,values:array&amp;lt;double&amp;gt;&amp;gt; but was actually class org.apache.spark.sql.types.StringType$:string.'"}&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 11:46:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9064#M417</guid>
      <dc:creator>notsure</dc:creator>
      <dc:date>2023-02-20T11:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error with calling a machine learning serving endpoint</title>
      <link>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9065#M418</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the request you are sending/using? please provide a screenshot and more details, so we will be able to provide a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 19:08:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9065#M418</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-02-22T19:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error with calling a machine learning serving endpoint</title>
      <link>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9067#M420</link>
      <description>&lt;P&gt;Hi @mavis chen​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 05:08:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-with-calling-a-machine-learning-serving-endpoint/m-p/9067#M420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-22T05:08:26Z</dc:date>
    </item>
  </channel>
</rss>

