title: An error occurred (InvalidClientTokenId) when calling the AssumeRole operation: The security token included in the request is invalid
body: <p>I'm constantly getting this error:</p>
  
  <pre><code>An error occurred (InvalidClientTokenId) when calling the AssumeRole operation: The security token included in the request is invalid.
  </code></pre>
  
  <p>when I run this Assume Role command:</p>
  
  <pre><code>aws sts assume-role --role-arn &lt;arn role i want to assume&gt; --role-session-name dev --serial-number &lt;my arn&gt; --token-code &lt;keyed in token code&gt;
  </code></pre>
  
  <p>This was working previously so I'm not sure what could have changed. And at a loss at how to debug this.</p>
  
  <p>Any suggestions?</p>