Skip to content

NumberFormatException on a date value #4

Description

@cwdcwd

This is likely on one of the created/updated timestamp fields

Error message:

Error: MapperParsingException[failed to parse [createdAt]]; nested: NumberFormatException[For input string: "9/12/18 11:21 AM"]; 

example payload causing the error:

{ message: 
{ topic: 'member.action.profile.trait.create',
'mime-type': 'application/json',
originator: 'ap-member-microservices',
timestamp: '2018-09-12T11:21:09.017Z',
payload: 
{ userId: 40669741,
userHandle: 'mayank.gupta18',
traitId: 'communities',
categoryName: 'Communities',
createdAt: '9/12/18 11:21 AM',
updatedBy: 40672021,
traits: [Object],
createdBy: 40672021,
updatedAt: '9/12/18 11:21 AM' } } }```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions