ERROR DECLARING DATEFORMAT IN ZOHO ANALYTICS
I am using the Zoho Analytics API (https://www.zoho.com/analytics/api/v2/data-api/add-row.html) and, as mentioned in the documentation, to record date and time data, the data must be formatted if you want to store it in a custom format. By default, the format is "yyyy-MM-dd HH:mm:ss". However, if I try to insert a date in the format "dd-MM-yyyy HH:mm:ss", the following error is displayed:
- {
- "result": {
- "summary": "INVALID_DATE_VALUE",
- "data": {
- "errorMessage": "Given date value '03-07-2024 13:40:29' is not in proper date format",
- "errorCode": 7514
- },
- "status": "failure"
- },
- "code": 3000
- }
This appears to be correct to me.
But if we send data with the format "yyyy-MM-dd HH:mm" and we have customized the "dateFormat" key parameter to "dd-MM-yyyy HH:mm", it is allowing to store and update the data. This should not happen, as it should show the same error as above.
@analytics
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.