Known causes for an Error 422 when creating event entries (event log / audit log entries) using the function POST /api/v1/transactions/auditlog.
Error message:
{
"StatusCode": 422,
"Message": Value cannot be null. (Parameter 'auditLogEntry')"
}
Possible causes
Date/time input
The fiscalisation service returns the above error message if the date 01/01/0001 with time 00:00:00 is used in the "dateOfEntry" field of the "user" element.
Example:
"dateOfEntry": "0001-01-01T00:00:00",
Solution:
Avoid using a dummy date. Even if the employee's entry date is not managed in the cash register, avoid using the above date/time entry.
Please refer to the information in the linked article for all time details.
Comments
0 comments
Please sign in to leave a comment.