<?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 bad parameter or other API misuse in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13869932#M98720</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[FlexSim 25.2.0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello, I’m encountering an issue when running my simulation experiments in parallel over long durations (ranging from one week to one month). However, the problem does not occur when I run the experiments for shorter periods (e.g., one day) or when I execute them sequentially.&lt;/P&gt;&lt;P&gt;The error message is as follows :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="ruby"&gt;FlexScript exception: SQLite Error 21 - bad parameter or other API misuse - in query: SELECT change_count FROM jobs WHERE id = ? at MAIN:/project/library/Experimenter&amp;gt;behaviour/eventfunctions/getJobChangeCount at line 0 c: MODEL:/Tools/Experimenter&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Has anyone experienced this issue or knows how to resolve it?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 13:21:52 GMT</pubDate>
    <dc:creator>AmirKhezri</dc:creator>
    <dc:date>2025-10-28T13:21:52Z</dc:date>
    <item>
      <title>bad parameter or other API misuse</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13869932#M98720</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[FlexSim 25.2.0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello, I’m encountering an issue when running my simulation experiments in parallel over long durations (ranging from one week to one month). However, the problem does not occur when I run the experiments for shorter periods (e.g., one day) or when I execute them sequentially.&lt;/P&gt;&lt;P&gt;The error message is as follows :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="ruby"&gt;FlexScript exception: SQLite Error 21 - bad parameter or other API misuse - in query: SELECT change_count FROM jobs WHERE id = ? at MAIN:/project/library/Experimenter&amp;gt;behaviour/eventfunctions/getJobChangeCount at line 0 c: MODEL:/Tools/Experimenter&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Has anyone experienced this issue or knows how to resolve it?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 13:21:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13869932#M98720</guid>
      <dc:creator>AmirKhezri</dc:creator>
      <dc:date>2025-10-28T13:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: bad parameter or other API misuse</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13869968#M98722</link>
      <description>&lt;P&gt;Saying "or when I execute them sequentially" makes it sound like you are running multiple jobs in parallel. If they use the same sqlite database file than getting errors is not suprising. Only a single job should access those at a time.&lt;/P&gt;&lt;P&gt;If they use different database files than I don't know what the issue could be. Though I don't know if starting multiple jobs from the same FlexSim instance is supported.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 13:23:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13869968#M98722</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2025-10-28T13:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: bad parameter or other API misuse</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13870003#M98724</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793" target="_self"&gt;&lt;SPAN class=""&gt;moehlmann_fe&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;Thank you for your reply!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Maybe I wasn’t clear earlier — I’m not running multiple FlexSim instances in parallel. The parallelization I mentioned refers to the internal parallelization within the simulation itself (as shown in the Experimenter settings, e.g., “Max Cores”).&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 13:40:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/bad-parameter-or-other-api-misuse/m-p/13870003#M98724</guid>
      <dc:creator>AmirKhezri</dc:creator>
      <dc:date>2025-10-28T13:40:18Z</dc:date>
    </item>
  </channel>
</rss>

