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

Dispense trait error - Cannot convert [Ljava.util.HashMap;@3fee564 to Firestore Value #15

Open
electrofun-smart opened this issue Jul 20, 2020 · 4 comments

Comments

@electrofun-smart
Copy link

Hi, I'm trying to use the Pet Feeder device that has trait dispense and I'm getting the error below. The device was created using the sample front-end application.

28: {
logMessage: "[i~smart-devices-mbfa/20200714t115449.428084367232914064].: 2020-07-19 23:58:13 [RequestF9AE1265] INFO :: doPost, body = {"inputs":[{"context":{"locale_country":"US","locale_language":"en"},"intent":"action.devices.EXECUTE","payload":{"commands":[{"devices":[{"id":"1o73"}],"execution":[{"command":"action.devices.commands.Dispense","params":{"amount":1,"item":"catFood","unit":"CUPS"}}]}]}}],"requestId":"14731957334120212545"}

"

severity: "INFO"     
time: "2020-07-19T23:58:13.765Z"     

}
30: {
logMessage: "[i~smart-devices-mbfa/20200714t115449.428084367232914064].: response = {"payload":{"commands":[{"ids":["1o73"],"errorCode":"Cannot convert [Ljava.util.HashMap;@3fee564 to Firestore Value","status":"ERROR"},{"ids":[],"status":"SUCCESS","states":{}}]},"requestId":"14731957334120212545"}

@Fleker
Copy link
Collaborator

Fleker commented Jul 20, 2020

What command are you giving to your service?

@electrofun-smart
Copy link
Author

I called my Pet Feeder as Meg Feeder, than in assistant I say: "Dispense 1 cup of cat food in my Meg Feeder"

@Fleker
Copy link
Collaborator

Fleker commented Jul 22, 2020

I can reproduce this, and I'll work on a fix.

@proppy
Copy link
Contributor

proppy commented Jan 21, 2021

Is this an issue you've having with this sample or your own implementation?

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