andium / amazondrs Goto Github PK
View Code? Open in Web Editor NEWAn Arduino library for WiFi101 connected devices implementing the Amazon Dash Replenishment API
License: Apache License 2.0
An Arduino library for WiFi101 connected devices implementing the Amazon Dash Replenishment API
License: Apache License 2.0
Unable to connect wifi SSL client to dash-replenishment-service-na.amazon.com in RetreiveSubscriptionInfo() function in AmazonDRS.cpp. Updated firmware and installed SSL certificates and still not working.
I am not receiving a refresh token. I am getting this error in the terminal.
Initializing DRS... connecting to WiFi
.
Connected to 360i_Guest
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................processing Refresh token response
HTTP/1.1 400 Bad Request
Server: Server
Date: Thu, 09 Nov 2017 00:51:33 GMT
Content-Type: application/json
Content-Length: 97
Connection: keep-alive
x-amzn-RequestId: 21ad94f8-c4e8-11e7-bc39-9383a26ad364
X-Amz-Date: Thu, 09 Nov 2017 00:51:33 GMT
x-amzn-ErrorType: OA2InvalidGrantException:http://internal.amazon.com/coral/com.amazon.panda/
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
{"error_description":"The request has an invalid grant parameter : code","error":"invalid_grant"}
Tokens updated!
processing Refresh token response
HTTP/1.1 400 Bad Request
Server: Server
Date: Thu, 09 Nov 2017 00:51:37 GMT
Content-Type: application/json
Content-Length: 109
Connection: keep-alive
x-amzn-RequestId: 24518b9c-c4e8-11e7-a681-8b01537511ee
X-Amz-Date: Thu, 09 Nov 2017 00:51:37 GMT
x-amzn-ErrorType: OA2InvalidRequestException:http://internal.amazon.com/coral/com.amazon.panda/
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
{"error_description":"The request is missing a required parameter : refresh_token","error":"invalid_request"}
Tokens updated!
Updating subscription info for all slots!
HTTP/1.1 400 Bad Request
Server: Server
Date: Thu, 09 Nov 2017 00:51:39 GMT
Content-Type: application/json
Content-Length: 28
Connection: close
x-amzn-RequestId: 25329c3f-c4e8-11e7-8776-d142e7655e9b
x-amzn-ErrorType: InvalidTokenException:http://internal.amazon.com/coral/com.amazon.parkeraccioservice/
Vary: Accept-Encoding,User-Agent
{"message":"Invalid token!"}parseObject() failed
Copy everything below...
I could use some help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.