# Zapier/Mautic preferred\_locale: This value is not valid., timezone: This value is not valid

**URL:** <https://forum.mautic.org/t/zapier-mautic-preferred-locale-this-value-is-not-valid-timezone-this-value-is-not-valid/24028>\
**Category:** Product Support\
**Created:** [May 7, 2022, 5:03pm UTC](https://forum.mautic.org/t/zapier-mautic-preferred-locale-this-value-is-not-valid-timezone-this-value-is-not-valid/24028 "2022-05-07T17:03:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtourgee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jtourgee/32/1980_2.png) [@jtourgee](https://forum.mautic.org/u/jtourgee)\
**Post date:** [May 7, 2022, 5:03pm UTC](https://forum.mautic.org/t/zapier-mautic-preferred-locale-this-value-is-not-valid-timezone-this-value-is-not-valid/24028/1 "2022-05-07T17:03:46Z")

</div>

**Your software**  
My Mautic version is:4.2.2  
My PHP version is: PHP Version 7.4.28  
My Database type and version is:Apache/2.4.53

**Your problem**  
My problem is: # Failed to create a contact in Mautic  
preferred\_locale: This value is not valid., timezone: This value is not valid.

These errors are showing in the log:  
None Found

Steps I have tried to fix the problem:  
1st I see that these data formates are not consistant:

In the configuration of “Users” in Mautic the Language format is depicted as “English - United States”

In the configuration of “Users” in Mautic the Timezone format is depicted as “America / New York”

In the configuration of “Custom Fields” in Mautic, the Preferred Locale format is depicted as “English (United States)”

In the configuration of “Custom Fields” in Mautic, the Preferred Timezone format is depicted as “America New York”

When creating the Mautic portion of the Zap I Map to each field:

1. I’ve tried all the iterations of the way the preferred local/timezone that are depicted in various settings within mautic and get the same error from Zapier: " Failed to create a contact in Mautic  
preferred\_locale: This value is not valid., timezone: This value is not valid."  
Each time

A. there appears to be non standard or non-uniform record somewhere  
B. I dont have the DB skills to look under the hood (yet)

Any help is appreciated as I’m at a dead stop in an important Mautic project.

---

<div class="post-metadata">

**Author:** ![jtourgee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jtourgee/32/1980_2.png) [@jtourgee](https://forum.mautic.org/u/jtourgee)\
**Post date:** [May 7, 2022, 6:53pm UTC](https://forum.mautic.org/t/zapier-mautic-preferred-locale-this-value-is-not-valid-timezone-this-value-is-not-valid/24028/2 "2022-05-07T18:53:03Z")

</div>

> [@jtourgee](#):
>
> In the configuration of “Custom Fields” in Mautic, the Preferred Locale format is depicted as “English (United States)”

Searching the DB related config in Local.php SOLVED THE TIMEZONE portion:  
THE ANSWER= America/New\_York

---

<div class="post-metadata">

**Author:** ![jtourgee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jtourgee/32/1980_2.png) [@jtourgee](https://forum.mautic.org/u/jtourgee)\
**Post date:** [May 7, 2022, 7:19pm UTC](https://forum.mautic.org/t/zapier-mautic-preferred-locale-this-value-is-not-valid-timezone-this-value-is-not-valid/24028/3 "2022-05-07T19:19:06Z")

</div>

And the Answer to “preferred\_locale: This value is not valid”  
Found in the Mautic Config.php file “en\_US”

---

<div class="post-metadata">

**Author:** ![jtourgee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jtourgee/32/1980_2.png) [@jtourgee](https://forum.mautic.org/u/jtourgee)\
**Post date:** [May 7, 2022, 7:23pm UTC](https://forum.mautic.org/t/zapier-mautic-preferred-locale-this-value-is-not-valid-timezone-this-value-is-not-valid/24028/4 "2022-05-07T19:23:19Z")

</div>

So when creating a Zap and mapping fields to Mautic  
Preferred Locale = en\_US  
and  
Preferred Timezone = America/New\_York

outside the US, sorry I did not go that far
