# In odk central 0.8 some submissions the attachmentsPresent is different to attachmentsExpected, how avoid this?

**URL:** <https://forum.getodk.org/t/in-odk-central-0-8-some-submissions-the-attachmentspresent-is-different-to-attachmentsexpected-how-avoid-this/26359>\
**Category:** Support\
**Created:** [May 6, 2020, 10:35pm UTC](https://forum.getodk.org/t/in-odk-central-0-8-some-submissions-the-attachmentspresent-is-different-to-attachmentsexpected-how-avoid-this/26359 "2020-05-06T22:35:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Matthew\_White](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/matthew_white/32/1654_2.png) [@Matthew\_White](https://forum.getodk.org/u/Matthew_White)\
**Post date:** [May 6, 2020, 11:21pm UTC](https://forum.getodk.org/t/in-odk-central-0-8-some-submissions-the-attachmentspresent-is-different-to-attachmentsexpected-how-avoid-this/26359/2 "2020-05-06T23:21:36Z")

</div>

Hi @cesar, and welcome to the ODK forum! When you have a chance, I'd encourage you to [introduce yourself here](https://forum.getodk.org/t/-/6671). Doing so helps build community!

Are you accessing `attachmentsPresent` and `attachmentsExpected` using OData? `attachmentsExpected` is the number of media files that Central believes should have been submitted for the submission, while `attachmentsPresent` is the number that were actually submitted. Does either number seem wrong to you? Is it wrong for all submissions, or only some? Have you noticed that the number was correct for a previous version of Central, but is not correct for v0.8?

---

_[View the full topic](https://forum.getodk.org/t/in-odk-central-0-8-some-submissions-the-attachmentspresent-is-different-to-attachmentsexpected-how-avoid-this/26359)._
