Timezone Error in AC - Time zone' has generated an error | Community
Skip to main content
Level 2
August 3, 2017

Timezone Error in AC - Time zone' has generated an error

  • August 3, 2017
  • 2 replies
  • 5720 views

Dear All,

We are facing an issue with time zone. When we try to access any delivery template especially DM templates we do get an error

Value 'Australia/Melbourne' is not valid for enumeration 'Time zones (xtk:common:timezone)'.

------

The graphical component 'Time zone' has generated an error.

------

Could you please let me know how to solve this issue. Also I do have  few clarifications

1. Can we add a new enumeration  for time zone in the out of the box schema ?

2. How does AC takes the timezone while creating any templates or any records ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Adhiyan
Adobe Employee
Adobe Employee
August 4, 2017

Hi Anumol,

There is an option called WdbcTimeZone which stores information about the timeZone for the instance. The delivery template might be referencing this option through the <% include option> directive and if this is populated with a value not present in the timezone enum , it might throw an error like you are seeing.

You may add a new enum but it's not recommended to do it directly in the OOB schema. If you need it indeed , you should extend the schema.Else , you can go for the already defined enum of Australia/Canberra

Regards,

Adhiyan

Level 2
August 6, 2017

Hi Adhiyan,

I have checked the option  WdbcTimeZone  and we do not have any value specified in there . If that is the case from where else  the delivery template is referring to the time zone?

Thanks and Regards,

Anumol Antony

Amit_Kumar
Level 10
August 13, 2018

Hi Anumol,

Cause of error:

You are using incorrect timezone in your delivery to set contactDateTimeZone, maybe you have some custom typology to assign the value or incorrect value for the delivery operator timezone or server timezone.

Allowed values are  for Australia are

  • Australia_Perth
  • Australia_Adelaide
  • Australia_Darwin
  • Australia_Brisbane
  • Australia_Canberra
  • Australia_Hobart

Resolution:

either update the timezone to correct value or update the "xtk:common:timezone" enum with one additional value.

Regards,

Amit