Deployment of backend is failing

Priority: High
Request: Deployment of the backend is failing in CB dashboard
Project ID: 15391
Project Link: https://performit-15391.botics.co/
Deployment of the backend is failing in the CB dashboard. here is the complete log https://build-output.heroku.com/streams/6d/6debf9fa-255c-4d29-964a-75f4fe9eafbf/logs/73/7323b5f2-ec67-4b80-bc65-15644e07f347.log?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIQI6BAUWXGR4S77Q%2F20201203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201203T173047Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=9e02fa8836ece158fa28f6cc0a91eb85a9ea2f29380dedef65762eb2a517408b

@dmitrii.k your kind support here on priority, please

cc: @ramzi

I can see that the error is about setting an ENV variable which is already set https://prnt.sc/vv81ts

@umer.siddiq You should make EMAIL_HOST_USER env var optional on settings.py file. The heroku config var aren’t available during the build phase, so it’s giving the KeyError.

1 Like

Thanks a lot this solves the problem. @saurav