python Django KeyError

Asked 2 years ago, Updated 2 years ago, 61 views

alt text

The above error occurs when you turn on the Django server and request a page after accessing it. I don't think I can find the key value, but I want to know exactly what the error is!

python django

2022-09-21 17:30

1 Answers

Looking at stacktrace, it seems that an error occurred because there was no HE_CLIENT_SECRET value when using the HackerEarth API. If you register a client at https://www.hackerearth.com/api/register/, a client secret key will be issued, and you can set it to the HE_CLIENT_SECRET environment variable.


2022-09-21 17:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.