# Column cannot be null when importing data from csv

**URL:** <https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274>\
**Category:** Support\
**Created:** [October 30, 2023, 10:41am UTC](https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274 "2023-10-30T10:41:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbc](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sbc](https://www.five.org/u/sbc)\
**Post date:** [October 30, 2023, 10:41am UTC](https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274/1 "2023-10-30T10:41:15Z")

</div>

Trying to import data from CSV as shown in your demo video. Everything looks good until the actual import where I’m told that the second column cannot be null. What am I supposed to put in that empty field if there is no data for it?

---

<div class="post-metadata">

**Author:** ![Jo-Anne](https://yyz2.discourse-cdn.com/flex030/user_avatar/www.five.org/jo-anne/32/45_2.png) [@Jo-Anne](https://www.five.org/u/Jo-Anne)\
**Post date:** [November 2, 2023, 5:11am UTC](https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274/3 "2023-11-02T05:11:56Z")

</div>

Hi sbc,

Does the CSV that you are trying to import have no data in the second column? If this is the case and you have your field set to Required you won’t be able to import the CSV as this field will be required to have a value. To get around this, edit your table and turn the Required switch off. All records can then be imported and the empty column will be set to null if it has no value.

To edit your table follow the steps below.

1. Select Data in the menu.
2. Select Tables in the menu.
3. Select your table record.
4. Click the Fields tab.
5. Select the field record.
6. Click the Edit button in the form app bar.
7. Click the Required switch so it is off.
8. Click the Save button in the form app bar.
9. Click the Save button in the form app bar above the list.
10. Import your CSV.

---

<div class="post-metadata">

**Author:** ![sbc](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sbc](https://www.five.org/u/sbc)\
**Post date:** [November 2, 2023, 11:55am UTC](https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274/4 "2023-11-02T11:55:15Z")

</div>

(post deleted by author)

---

<div class="post-metadata">

**Author:** ![sbc](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sbc](https://www.five.org/u/sbc)\
**Post date:** [November 2, 2023, 11:56am UTC](https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274/5 "2023-11-02T11:56:31Z")

</div>

That’s what I eventually figured out.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex030/user_avatar/www.five.org/system/32/33_2.png) [@system](https://www.five.org/u/system)\
**Post date:** [December 4, 2023, 2:32am UTC](https://www.five.org/t/column-cannot-be-null-when-importing-data-from-csv/274/6 "2023-12-04T02:32:13Z")

</div>

Automatically bumped on December 4, 2023, 2:32am UTC


