Home-Assistant-Mail-And-Packages icon indicating copy to clipboard operation
Home-Assistant-Mail-And-Packages copied to clipboard

Configuration Error - Amazon Forwarded Email Addresses

Open socaljr53 opened this issue 2 years ago • 31 comments

After completing step 1 of the configuration, the second screenContinue to receive the following error during the configuration process.

image

User input malformed: expected str for dictionary value @ data['amazon_fwds']

socaljr53 avatar Jun 27 '22 22:06 socaljr53

Change the amazon forwarded email addresses to: ""

firstof9 avatar Jun 27 '22 22:06 firstof9

Hi, I actually need to enter Amazon forwarding addresses, two of them. The instructions just say to separate them with a comma. I have tried with the quotes around the whole thing, the quotes around each address, and no quotes. No matter what I do I am getting the same error this person got.

emeybee avatar Jul 02 '22 22:07 emeybee

@emeybee I don't use a forwarding address but the empty double quotes wouldn't work for me. I had to use single quotes instead. Maybe that's what you need?

coharness avatar Jul 05 '22 17:07 coharness

Thank you for the suggestion, I tried it but it still doesn't work. No matter what I enter I get this error: User input malformed: expected str for dictionary value @ data['amazon_fwds']

emeybee avatar Jul 07 '22 20:07 emeybee

Try this format: '[email protected], [email protected]'

firstof9 avatar Jul 07 '22 20:07 firstof9

Looks like I'm stuck with this error now, too. I don't use forwarded addresses for Amazon.

coharness avatar Jul 08 '22 01:07 coharness

@coharness if you input '' thats two 's does it let you pass?

firstof9 avatar Jul 08 '22 16:07 firstof9

No, not anymore. I was able to just the one time when I mentioned in my earlier comment.

coharness avatar Jul 09 '22 03:07 coharness

I'll see about jery rigging something for the config flow.

firstof9 avatar Jul 09 '22 15:07 firstof9

Try this format: '[email protected], [email protected]'

This seems to have worked, I guess it was the one I hadn't tried. Thank you.

emeybee avatar Jul 09 '22 18:07 emeybee

@emeybee thanks for the confirmation.

firstof9 avatar Jul 09 '22 18:07 firstof9

No matter how I enter it either '' or "" the config flow accepts for me, but this is testing on the latest dev nightly of Home Assistant.

firstof9 avatar Jul 11 '22 18:07 firstof9

Same issues for me - been going on for about a week for me now. I have been using it without issues for some time, but now my two email addresses that I use are the same error as the original post. I have uninstalled, tried several of the betas, as well as trying the "" '' methods but no luck at all.

awshifts avatar Jul 18 '22 13:07 awshifts

now my two email addresses that I use are the same error as the original post.

Have you tried the format '[email protected], [email protected]' ?

firstof9 avatar Jul 18 '22 17:07 firstof9

Yup same result. Snag_2d93cb81

awshifts avatar Jul 18 '22 17:07 awshifts

You don't need those for gmail accounts, can you try just "" or ''

firstof9 avatar Jul 18 '22 17:07 firstof9

Will do that's what I had before. will let you know.

awshifts avatar Jul 18 '22 17:07 awshifts

same issues either way.

Snag_2e057519 Snag_2e0580e1

awshifts avatar Jul 18 '22 19:07 awshifts

Your quotes look weird in this image, almost like '""'

It should look similar to this: image

This is just two single quotes: ''

firstof9 avatar Jul 18 '22 20:07 firstof9

The same thing regardless. I have deleted it completely and will try again. Just wanted to update you. Snag_320f8188

awshifts avatar Jul 19 '22 14:07 awshifts

Just to confirm this is with the latest beta? When I enter '' it worked for me on the latest beta version.

firstof9 avatar Jul 19 '22 14:07 firstof9

Latest Beta 0.3.5-b4 correct? If that's the one it's the one I am using.

awshifts avatar Jul 19 '22 14:07 awshifts

Try leaving it blank as well. I think that only works in initial setup tho.

firstof9 avatar Jul 19 '22 14:07 firstof9

Well the good news, is that if I just remove amazon from mail altogether it works fine, as soon as I add the amazon Sensor it breaks.

awshifts avatar Jul 19 '22 15:07 awshifts

I'll see if I can make a workaround for the config flow for this.

firstof9 avatar Jul 19 '22 15:07 firstof9

Was just typing back to you. After I confirmed the regular mail was working I did the following.

I deleted the repository and went through the setup again. Was having the same issue. So I did it a third time, this time I did not select any Amazon Sensors. Config went fine. I went back in, chose Amazon, used '', and saved it. Now amazon works :)

Just wanted you to be aware, not sure if something in the flow, or config, but after doing that it works.

awshifts avatar Jul 19 '22 15:07 awshifts

Thanks for the info.

firstof9 avatar Jul 19 '22 15:07 firstof9

Thanks for the info.

apparently, I lied it started again.

awshifts avatar Jul 25 '22 14:07 awshifts

This new PR should help. I'll put up another beta once I am able to test the code locally.

firstof9 avatar Jul 25 '22 16:07 firstof9

0.3.5-b5 should pop up shortly with this new fix in place. Instead of using "" or '' just enter (none).

firstof9 avatar Jul 25 '22 18:07 firstof9