# DHIS2 version 2.39.1.2 experiencing un-expected behavior

**URL:** <https://community.dhis2.org/t/dhis2-version-2-39-1-2-experiencing-un-expected-behavior/55349>\
**Category:** Support - Assistance technique\
**Tags:** resources, analytics\
**Created:** [17 October 2023 07:51 UTC](https://community.dhis2.org/t/dhis2-version-2-39-1-2-experiencing-un-expected-behavior/55349 "2023-10-17T07:51:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayman.tuffaha](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/ayman.tuffaha/32/125_2.png) [@ayman.tuffaha](https://community.dhis2.org/u/ayman.tuffaha)\
**Post date:** [17 October 2023 07:51 UTC](https://community.dhis2.org/t/dhis2-version-2-39-1-2-experiencing-un-expected-behavior/55349/1 "2023-10-17T07:51:18Z")

</div>

Dear colleagues,

Hope you are doing well.  
I have some issues related to the production instance which prevent me from proceeding hereunder some screen shots:

 ![1111](https://dhis2.b-cdn.net/uploads/default/original/3X/f/6/f6f9c1211b46780872145c51390df49b32841400.png)  
 ![Capture_disable](https://dhis2.b-cdn.net/uploads/default/original/3X/1/3/13a90f26844c4ec00515b9b88e8a549c1af55c1a.png)  
 ![Capture-err](https://dhis2.b-cdn.net/uploads/default/original/3X/7/e/7e1e3439afa76f796362eecd3aeb13e3c482b7af.png)

I have noticed from the browser developer tool the below error shows up at all cases:  
{httpStatus: “Bad Request”, httpStatusCode: 400, status: “ERROR”, message: “Month not valid [1,7]: 12”}  
httpStatus  
:  
“Bad Request”  
httpStatusCode  
:  
400  
message  
:  
“Month not valid [1,7]: 12”  
status  
:  
“ERROR”

And also resource table generation failed:

 ![Capture11112](https://dhis2.b-cdn.net/uploads/default/original/3X/4/1/411ff7166721f349d9275bf32b2b15e037da343e.png)

Could you please help and support how to overcome this issue?

Thanks and regards,  
Ayman

---

<div class="post-metadata">

**Author:** ![Stephan\_Mestach](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/stephan_mestach/32/40053_2.png) [@Stephan\_Mestach](https://community.dhis2.org/u/Stephan_Mestach)\
**Post date:** [17 October 2023 11:29 UTC](https://community.dhis2.org/t/dhis2-version-2-39-1-2-experiencing-un-expected-behavior/55349/2 "2023-10-17T11:29:06Z")

</div>

Does Jordania use a different calendar than the gregorian one ?  
Meaning something like amharic calendar in ethiopia ?

You upgraded dhis2 and kept the “production” data ?  
I would check first if the calendar settings still match, what you would expect  
My guess is perhaps someone changed the calendar or the date format… or the option were (re)setted to default to the gregorian one.

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/6/e/6e8cdc2d9abd3f2b78740536358fb5c7d1761010.png)

> **[DHIS 2 Demo - Sierra Leone](https://play.dhis2.org/2.39.2.1/dhis-web-settings/index.html#/calendar)**
>
> DHIS 2

---

<div class="post-metadata">

**Author:** ![ayman.tuffaha](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/ayman.tuffaha/32/125_2.png) [@ayman.tuffaha](https://community.dhis2.org/u/ayman.tuffaha)\
**Post date:** [17 October 2023 11:45 UTC](https://community.dhis2.org/t/dhis2-version-2-39-1-2-experiencing-un-expected-behavior/55349/3 "2023-10-17T11:45:29Z")

</div>

Thanks for your reply @Stephan_Mestach  
Our calendar setting is ISO 8601 same as the screenshot you have shared.

We do not upgrade the version 2.39.1.2 but if the upgrade will solve the issue then we have to upgrade but we are not sure of the root cause of the issue yet.

BR,  
Ayman

---

<div class="post-metadata">

**Author:** ![Stephan\_Mestach](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/stephan_mestach/32/40053_2.png) [@Stephan\_Mestach](https://community.dhis2.org/u/Stephan_Mestach)\
**Post date:** [17 October 2023 14:36 UTC](https://community.dhis2.org/t/dhis2-version-2-39-1-2-experiencing-un-expected-behavior/55349/4 "2023-10-17T14:36:27Z")

</div>

I would share the server logs and the “full stack trace” round this invalid month to find where it’s coming from (current date / stored data ?).
