# File being truncated when sharing

**URL:** <https://forum.odrive.com/t/file-being-truncated-when-sharing/2731>\
**Category:** Troubleshooting\
**Tags:** sync-to-odrive, sharelinks\
**Created:** [July 14, 2017, 4:53pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731 "2017-07-14T16:53:03Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 14, 2017, 4:53pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/1 "2017-07-14T16:53:03Z")

</div>

I shared a file XXX.sql through odrive, when the file id sownloaded through the share link the file is trucated approximately half way through. But the file when sync’d locally is correct. I took an additional step of copying the file to a new file and created a new share to it, the same issue happened.

The storage being used with this file is box .

The content of the file is just t-sql.

Thanks you,

David

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 14, 2017, 5:48pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/2 "2017-07-14T17:48:44Z")

</div>

Hi @davidp,  
I am not able to reproduce this using an odrive shared-link on Box storage. Are you seeing this will all files or just this one file (and its copies), in particular?

If you download it via the odrive web client, via normal browsing vs a shared link, does the same problem occur?

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 14, 2017, 7:21pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/3 "2017-07-14T19:21:53Z")

</div>

Dear @Tony ,

Thanks for the quick response, this is only happening with this one file. Never had an issue before like this with any other files. There is no issue accessing the file via any other means that I’ve seen. I just re-checked and downloading through the website works perfectly fine, only through the share link is the issue experienced.

If it helps I can send you the actual file directly that is being used, it’s shared with a 7 day share, maybe there is something oddly specific about the file content. The interesting thing is if I rename the file and add .txt to the extension and share it, it has the same issue.

Thanks again,

David

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 14, 2017, 8:31pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/4 "2017-07-14T20:31:00Z")

</div>

Hi @davidp,  
Yes this is very odd. The team told me that you submitted a request via the sales channel, too, so was able to take a look at the file there, although I don’t know what it is supposed to look like :). If you can send me the original I can investigate more.

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 14, 2017, 9:11pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/5 "2017-07-14T21:11:30Z")

</div>

Dear @Tony,

Is there a way I can send you the file directly so it’s not publicly viewable?

Thanks,

David

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 14, 2017, 9:19pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/6 "2017-07-14T21:19:20Z")

</div>

Hi @davidp,  
You should get a response via e-mail. Can you attach it there, once you do?

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 14, 2017, 9:23pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/7 "2017-07-14T21:23:11Z")

</div>

Dear @Tony,

The email comes from a noreply… address, so I’m not sure if there is another email I should be receiving.

Thanks,

David

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 14, 2017, 9:23pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/8 "2017-07-14T21:23:59Z")

</div>

Dear @Tony,

Got it, thanks, just responded with the file.

David

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 14, 2017, 9:41pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/9 "2017-07-14T21:41:03Z")

</div>

Thanks @davidp. I’m taking a look.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 15, 2017, 12:47am UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/10 "2017-07-15T00:47:20Z")

</div>

Hi @davidp,  
We found an obscure issue. This file is the only file we can find that hits it, so far.

A fix has been made and is going through QA. Thanks for the help in tracking it down!

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 15, 2017, 1:01am UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/11 "2017-07-15T01:01:04Z")

</div>

Dear @Tony, I figured as much, it was really odd and as I was testing it, it seemed to be one of those just very odd occurrences. We really enjoy your product and rely on it, so it’s great to hear you are so quick to track down and fix issues.

Thanks again, and any further info I can provide, just let me know.

Have a great weekend,

David

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 18, 2017, 3:58pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/12 "2017-07-18T15:58:25Z")

</div>

Dear @Tony,

We are still running into this issue, just happened a few minutes ago. Do you know the status of the fix?

Thanks again,

David

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 18, 2017, 5:16pm UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/13 "2017-07-18T17:16:48Z")

</div>

Hi @davidp,  
I think we should be able to release it today. I will ping this thread when it is out.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 19, 2017, 1:26am UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/14 "2017-07-19T01:26:48Z")

</div>

Hi @davidp,  
This is in production now. You should no longer see the issue.

Thanks for your patience!

---

<div class="post-metadata">

**Author:** ![davidp](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/eada6e/32.png) [@davidp](https://forum.odrive.com/u/davidp)\
**Post date:** [July 19, 2017, 1:42am UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/15 "2017-07-19T01:42:15Z")

</div>

Dear @Tony,

Just wanted to let you know I ran a quick test and it looks to be working perfectly.

Thanks again for your help,

David

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [July 19, 2017, 1:49am UTC](https://forum.odrive.com/t/file-being-truncated-when-sharing/2731/16 "2017-07-19T01:49:17Z")

</div>

Thanks for confirming @davidp!
