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

Amazon Timestamp bug. json changed from string to int #16

Open
justinmadison opened this issue Jul 10, 2017 · 3 comments
Open

Amazon Timestamp bug. json changed from string to int #16

justinmadison opened this issue Jul 10, 2017 · 3 comments

Comments

@justinmadison
Copy link

Amazon updated this weekend and the timestamp is being sent out as an int instead of an ISO 8601 formatted string (i.e., 2015-05-13T12:34:56Z).

This causes the error "json: cannot unmarshal number into Go struct field EchoReqBody.timestamp of type string"

My guess is this is a bug they will fix so I don't think an update to skill server is required. Thought I would post an issue incase someone using the package is having a problem

@mikeflynn
Copy link
Owner

Thanks for the heads up!

@davent
Copy link

davent commented Jul 17, 2017

For what it's worth, this does appear to be a bug. It the request originates from the Amazon Developer console testing facility then the timestamp is sent as an integer. However, if the request originates from an Echo device (only tested with an Echo) it is sent as a string.

@mikeflynn
Copy link
Owner

I've been traveling and unable to check in on this, but is this still and issue with Amazon's servers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants