title: Facebook Graph API: (#100) Attachment size exceeds allowable limit
body: <p>I am uploading an attachment of type video which is around 17MB but somehow facebook is saying it's exceeding the filesize allowed which is 25 MB.</p>
  
  <p>I am getting the following error while trying to upload the video</p>
  
  <blockquote>
    <p>(#100) Attachment size exceeds allowable limit. Depending on the file, encoding can increase the size of the uploaded file. Please upload the file in chunks to avoid hitting the max file size.</p>
  </blockquote>
  
  <p>I have even tried uploading it via <code>curl</code></p>
  
  <pre><code>curl  \
    -F 'message={"attachment":{"type":"video", "payload":{"is_reusable":true}}}' \
    -F 'filedata=@"/home/deepak/Downloads/file.mp4";type=video/mp4' \
    "https://graph.facebook.com/v5.0/1052xxxxxxx/message_attachments?access_token=EAxxxxxxxxxxxxxxxxxxl"
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>{
    "error": {
      "message": "(#100) Upload attachment failure.",
      "type": "OAuthException",
      "code": 100,
      "error_subcode": 2018047,
      "fbtrace_id": "xxxxxxxxxxx"
    }
  }
  </code></pre>