# Getting 'assistants' is not one of \['fine-tune'\] - 'purpose'

**URL:** <https://community.openai.com/t/getting-assistants-is-not-one-of-fine-tune-purpose/475773>\
**Category:** Bugs\
**Created:** [November 6, 2023, 9:18pm UTC](https://community.openai.com/t/getting-assistants-is-not-one-of-fine-tune-purpose/475773 "2023-11-06T21:18:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khbyun](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/khbyun/32/235356_2.png) [@khbyun](https://community.openai.com/u/khbyun)\
**Post date:** [November 6, 2023, 9:18pm UTC](https://community.openai.com/t/getting-assistants-is-not-one-of-fine-tune-purpose/475773/1 "2023-11-06T21:18:10Z")

</div>

I’m strictly following the file upload API example for `assistants` but not getting expected result. It would be appreciated if the ETA for `assistants` to be allowed to file upload API.

```auto
curl https://api.openai.com/v1/files \
  -H 'OpenAI-Beta: assistants=v1' -H "Authorization: Bearer [REDACTED]" \
  -F purpose="assistants" \
  -F file="@[REDACTED]"
{
  "error": {
    "message": "'assistants' is not one of ['fine-tune'] - 'purpose'",
    "type": "invalid_request_error",
    "param": null,
    "code": null
  }
}

```

---

<div class="post-metadata">

**Author:** ![khbyun](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/khbyun/32/235356_2.png) [@khbyun](https://community.openai.com/u/khbyun)\
**Post date:** [November 6, 2023, 10:22pm UTC](https://community.openai.com/t/getting-assistants-is-not-one-of-fine-tune-purpose/475773/2 "2023-11-06T22:22:06Z")

</div>

As of 2023-11-07 07:21 AM (KST), it seems the API is now working as expected. Thanks!

```auto
{
  "object": "file",
  "id": "[REDACTED]",
  "purpose": "assistants",
  "filename": "[REDACTED]",
  "bytes": [REDACTED],
  "created_at": [REDACTED],
  "status": "processed",
  "status_details": null
}

```
