MultiValueDictKeyError

35 views
Skip to first unread message

Odile Abimana

unread,
Aug 29, 2020, 2:38:15 PM8/29/20
to Django users
Hello, anyone to help me know why it is throwing this error?

erroe.PNG
error.PNG

Kasper Laudrup

unread,
Aug 29, 2020, 3:01:42 PM8/29/20
to django...@googlegroups.com
Hi Odile,

On 29/08/2020 10.03, Odile Abimana wrote:
> Hello, anyone to help me know why it is throwing this error?
>

That's very hard since you don't provide any kind of context on what you
are trying to achieve, but obviously your postData dictionary doesn't
contain a key called "email", so that's why it's throwing an exception.

It will be hard for anyone to help you unless you try to provide the
relevant code.

Kind regards,

Kasper Laudrup

Varun Kumar

unread,
Aug 29, 2020, 3:44:52 PM8/29/20
to django...@googlegroups.com

On Sun, 30 Aug, 2020, 12:08 am Odile Abimana, <abimana...@gmail.com> wrote:
Hello, anyone to help me know why it is throwing this error?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/62bc7c31-dc64-4fd6-9508-32297112ecabn%40googlegroups.com.

Kunal Solanke

unread,
Aug 29, 2020, 11:08:33 PM8/29/20
to django...@googlegroups.com
If you are using fetch try printing out request.body  You may have to json parse this body if it exists .



Reply all
Reply to author
Forward
0 new messages