Skip to content

json: cannot unmarshal string into Go struct field KinesisFirehoseEventRecord.approximateArrivalTimestamp of type int64 #101

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

Closed
natsumehu opened this issue Jul 30, 2018 · 2 comments

Comments

@natsumehu
Copy link

It seems like the firehose is passing a ISO 8601 date formate instead of a long number to the lambda function. But the go sdk cannot parse it? Any idea?

@bmoffatt
Copy link
Collaborator

@natsumehu were you using the sample Kinesis Firehose event template in the Lambda Console? This sample was recently corrected to reflect that "approximateArrivalTimestamp" is an integer.

@bhavikkumar
Copy link
Contributor

I think this has been fixed by multiple PRs one being #188

@bmoffatt bmoffatt closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants