# "Could not validate file" error

**URL:** <https://community.openai.com/t/could-not-validate-file-error/22474>\
**Category:** API\
**Created:** [November 1, 2022, 9:21pm UTC](https://community.openai.com/t/could-not-validate-file-error/22474 "2022-11-01T21:21:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Panta](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/panta/32/12700_2.png) [@Panta](https://community.openai.com/u/Panta)\
**Post date:** [November 1, 2022, 9:21pm UTC](https://community.openai.com/t/could-not-validate-file-error/22474/1 "2022-11-01T21:21:29Z")

</div>

Hi. Does anyone else have a problem where the API returns “Could not validate file” error immediately after uploading?

```auto
Upload progress: 100%|████████████████████████████████████████████████████████████████████| 605k/605k [00:00<00:00, 979Mit/s]
Uploaded file from /home/panta/Desktop/training_data.jsonl: file-7r5r4OBPXqINwU0O0F7Di3yh
Created fine-tune: ft-O58KptyLMleJC1TfVMi7NTFU
Streaming events until fine-tuning is complete...

(Ctrl-C will interrupt the stream, but not cancel the fine-tune)
[2022-11-01 22:08:49] Created fine-tune: ft-O58KptyLMleJC1TfVMi7NTFU
[2022-11-01 22:09:06] Fine-tune failed. Errors:
Error with file-7r5r4OBPXqINwU0O0F7Di3yh: Could not validate file. Please contact us through our help center at help.openai.com for assistance.

Job failed. Please contact support@openai.com if you need assistance.

```

I’ve ran `openai tools fine_tunes.prepare_data` and it found no remediations, so it should be good to go?

The file contains ~500 items like this:

```auto
{"prompt":"\nDuring my career, on top of frontend programming, I've spent about equal amount of time in 2 other areas.","completion":" Is frontend the easiest area of programming?\n\nAs a full stack engineer, I think yes.\n\nHere's why.{;|"}

```

---

<div class="post-metadata">

**Author:** ![cwasims](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@cwasims](https://community.openai.com/u/cwasims)\
**Post date:** [May 10, 2023, 5:23pm UTC](https://community.openai.com/t/could-not-validate-file-error/22474/2 "2023-05-10T17:23:25Z")

</div>

I am also having this exact same issue, would appreciate any assistance.

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [December 14, 2023, 8:26pm UTC](https://community.openai.com/t/could-not-validate-file-error/22474/3 "2023-12-14T20:26:14Z")

</div>


