title: Deleting message from SQS FIFO queue: The receipt handle has expired
body: <p>I switched to a FIFO queue and I got this error message when I tried to delete a message from the queue</p>
  
  <pre><code>Value {VALUE} for parameter ReceiptHandle is invalid. Reason: The receipt handle has expired.
  </code></pre>
  
  <p>It appears that the error happens because I tried to delete the message after <code>visibility timeout</code> has expired. I changed the default visibility timeout 0 to the maximum, 12 hours, this solved partially the issue. Sometimes it could happens that a message still in my queue for longer than 12 hours before I could perform it and than delete it, so I will get the error again. Is there any solution to increase the visibility timeout for more than 12 hours or to bypass this error by another way?</p>