Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Report definition - unable to create scheduled cron job with EST timezones #1013

Open
MonishaSukumar opened this issue Jul 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MonishaSukumar
Copy link

MonishaSukumar commented Jul 9, 2024

User is trying to create a scheduled cron job with the EST timezone. But report definition creation fails with an internal server error.

API -

POST - /api/reporting/reportDefinition

Payload -

{"report_params":{"report_name":"report-est","report_source":"Dashboard","description":"","core_params":{"base_url":"/app/dashboards#/view/51d08090-07a2-11ef-90f6-3b851ae6e26c","report_format":"pdf","time_duration":"PT30M"}},"delivery":{"configIds":[],"title":"","textDescription":"","htmlDescription":""},"trigger":{"trigger_type":"Schedule","trigger_params":{"enabled_time":1720528976669,"schedule":{"cron":{"expression":"0 12 * * *","timezone":"EST"}},"schedule_type":"Cron based","enabled":true}}}

Response -
{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Unknown time-zone ID: EST"
}

Opensearch Dashboards version - 1.2.0, issue still persist in 2.12 version too.

@MonishaSukumar MonishaSukumar added bug Something isn't working untriaged labels Jul 9, 2024
@dblock
Copy link
Member

dblock commented Jul 29, 2024

[Catch All Triage - 1, 2, 3, 4]

@dblock dblock removed the untriaged label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants