# c# ImportRequestValidatorError.INVALID\_PROPERTY\_NAMES

**URL:** <https://community.hubspot.com/t/c-importrequestvalidatorerror-invalid-property-names/122893>\
**Category:** APIs & Integrations\
**Tags:** professional, starter\
**Created:** [December 20, 2024, 2:52pm UTC](https://community.hubspot.com/t/c-importrequestvalidatorerror-invalid-property-names/122893 "2024-12-20T14:52:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SImadEddine](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@SImadEddine](https://community.hubspot.com/u/SImadEddine)\
**Post date:** [December 20, 2024, 2:52pm UTC](https://community.hubspot.com/t/c-importrequestvalidatorerror-invalid-property-names/122893/1 "2024-12-20T14:52:28Z")

</div>

Hello everyone,  
I succedded to import basic csv files with predefined columns but trying with custom new columns, the api returns the following error :

```lia-code-sample
{
 "status": "error",
 "message": "The following property names are invalid: [Street Address, Company Name, Postal Code, Phone Number, Website URL, Company identification number, VAR Number, [MR] Secteur d'activité, Internal Customer ID].",
 "correlationId": "85d3e595-a848-4848-8eb4-f7f15c4054df",
 "context": {
 "invalidProperties": [
 "Street Address",
 "Company Name",
 "Postal Code",
 "Phone Number",
 "Website URL",
 "Company identification number",
 "VAR Number",
 "[MR] Secteur d'activité",
 "Internal Customer ID"
 ]
 },
 "category": "VALIDATION_ERROR",
 "subCategory": "ImportRequestValidatorError.INVALID_PROPERTY_NAMES"
}

```

I tried to check the documentation and finding the issue but without success. Here is an example of Street Address column.

 ![SImadEddine_0-1734706131850.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/c/1cb986ddc8ec1026df7cd5cfd3c8602c5dfdf337.png)

Here is my json request.

```lia-code-sample
{
 "name": "Association Label Import",
 "dateFormat": "DAY_MONTH_YEAR",
 "files": [
 {
 "fileName": "hubspot_sample.csv",
 "fileFormat": "CSV",
 "fileImportPage": {
 "hasHeader": true,
 "columnMappings": [
 {
 "columnObjectTypeId": "0-1",
 "columnName": "last_name",
 "propertyName": "lastname"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "first_name",
 "propertyName": "firstname"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "phone_number",
 "propertyName": "Phone Number"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "email",
 "propertyName": "email"
 },
 {
 "columnObjectTypeId": "0-2",
 "columnName": "internal_customer_id",
 "propertyName": "Internal Customer ID"
 },
 {
 "columnObjectTypeId": "0-2",
 "columnName": "company_identification_number",
 "propertyName": "Company identification number"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "company_name",
 "propertyName": "Company Name"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "street_address",
 "propertyName": "Street Address"
 },
 {
 "columnObjectTypeId": "0-2",
 "columnName": "VAT_number",
 "propertyName": "VAR Number"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "City",
 "propertyName": "city"
 },
 {
 "columnObjectTypeId": "0-1",
 "columnName": "postal_code",
 "propertyName": "Postal Code"
 },
 {
 "columnObjectTypeId": "0-2",
 "columnName": "secteur_activite",
 "propertyName": "[MR] Secteur d'activité"
 },
 {
 "columnObjectTypeId": "0-2",
 "columnName": "website_URL",
 "propertyName": "Website URL"
 }
 ]
 }
 }
 ]
}

```

The csv data file

```lia-code-sample
last_name,first_name,phone_number,email,internal_customer_id,company_identification_number,company_name,VAT_number,City,postal_code,street_address,secteur_activite,website_URL
ln1,fn1,0123456789,test@test.fr,CC001765,479282999,SASU MARCHANDISES,FR50479289999,Paris,75015,17 RUE CHANTE CLAIR,Autre (précisez),https://www.marchandises.com

```

CODE

 ![SImadEddine_1-1734706319264.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/7/276221802bc9aa56d76ccf07257874310e9a88fb.png)

Anyone has an idea ? Thanks.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 20, 2024, 5:18pm UTC](https://community.hubspot.com/t/c-importrequestvalidatorerror-invalid-property-names/122893/2 "2024-12-20T17:18:16Z")

</div>

Hey, @SImadEddine 👋 Thanks for your question.

I’d start by double-checking all the “internal names” for the properties you are getting an error with. We can see in your first screenshot for the property “Street Address” you used:

- “ **street\_address** ” (incorrect)
- instead of “ **address** ” (correct)

You can verify these values in-app (like your example) or by making a request to the Properties API to return all your Contact properties and search for each property’s internal value manually.

Another example:

You received an error for Postal code:

- “ **postal\_code** ” (incorrect)
- “zip” (correct)

 ![CleanShot 2024-12-20 at 10.08.38@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/9/19fde62a53d434a038634e20f8eec3cf02268c95.png)

You’ll have to do this on your end for the custom properties that returned an error, but here are the correct values for the default HubSpot created properties that were not set correctly:

```lia-code-sample
"Street Address",
 "Company Name",
 "Postal Code",
 "Phone Number",
 "Website URL",

```

- Street Address = "address”
- Postal Code = "zip”
- Company Name = "company”
- Phone Number = "phone”
- Website URL = "website”

I hope this helps get you moving forward! — Jaycee

---

<div class="post-metadata">

**Author:** ![SImadEddine](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@SImadEddine](https://community.hubspot.com/u/SImadEddine)\
**Post date:** [December 23, 2024, 9:40am UTC](https://community.hubspot.com/t/c-importrequestvalidatorerror-invalid-property-names/122893/3 "2024-12-23T09:40:12Z")

</div>

Hey [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) , yes you are alright i was using the labels as names.  
Thanks.
