# Upload a file at entry creation no longer supported

> Source: https://docs.strapi.io/cms/migration/v4-to-v5/breaking-changes/no-upload-at-entry-creation

In Strapi 5, uploading a file while creating an entry is no longer supported. Users must upload the file first via the Upload API, then create the entry with the file id.

In Strapi 5, it is not possible to upload a file while creating an entry, so this should be done in 2 steps.

This page is part of the [breaking changes database](/cms/migration/v4-to-v5/breaking-changes) and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.

- Is this breaking change affecting plugins? Yes
- Is this breaking change automatically handled by a codemod? No

## Breaking change description

**In Strapi v4**

It was possible to upload a file while creating an entry, as [documented for Strapi v4](https://docs-v4.strapi.io/cms/plugins/upload#upload-files-at-entry-creation).

**In Strapi 5**

You must upload the file first, and then create the entry with the created file id.

## Migration

This section regroups useful notes and procedures about the introduced breaking change.

### Migration procedure

Users must update their custom code, first sending a [POST call to the Upload API at `/api/upload/`](/cms/api/rest/upload), then creating an entry with a [POST call to the REST API at `/api`](/cms/api/rest#create) with the created file id.
