# Python Server flask 500 internal server error

**URL:** <https://community.postman.com/t/python-server-flask-500-internal-server-error/12710>\
**Category:** Help Hub\
**Tags:** tests, variables\
**Created:** [May 17, 2020, 6:02pm UTC](https://community.postman.com/t/python-server-flask-500-internal-server-error/12710 "2020-05-17T18:02:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rossarin.phan](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rossarin.phan](https://community.postman.com/u/rossarin.phan)\
**Post date:** [May 17, 2020, 6:02pm UTC](https://community.postman.com/t/python-server-flask-500-internal-server-error/12710/1 "2020-05-17T18:02:33Z")

</div>

Hi everyone,  
I got 500 internal server error , Anyone have a solution ?

Result

 ![500error](https://us1.discourse-cdn.com/getpostman/original/3X/d/3/d3a7344ca363212cb89881a3070534facf81620d.png)

And this is my file code

- rating\_model.pickle
- columns.json
- server.py
- util.py

[Link : File Code](https://drive.google.com/open?id=1G-OlCtU3QsDQdVPKm4ROonDVYCz-UsuM)

Thanks

---

<div class="post-metadata">

**Author:** ![Shanmukh999](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Shanmukh999](https://community.postman.com/u/Shanmukh999)\
**Post date:** [July 1, 2020, 5:49am UTC](https://community.postman.com/t/python-server-flask-500-internal-server-error/12710/2 "2020-07-01T05:49:25Z")

</div>

Did this issue resolved or still exists becoz I am also getting same type of 500 internal server error when I tried to test post requests using postman from deployed application(flask ,iis ).  
Please let me know the status.

---

<div class="post-metadata">

**Author:** ![aviation-astronomer1](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aviation-astronomer1](https://community.postman.com/u/aviation-astronomer1)\
**Post date:** [March 5, 2021, 10:01am UTC](https://community.postman.com/t/python-server-flask-500-internal-server-error/12710/3 "2021-03-05T10:01:29Z")

</div>

May the Error is due to Flask’s old version, so try resolving it by upgrading the version.

Open Anaconda Prompt and type

`pip install --upgrade Flask`

Then restart your IDE

---

<div class="post-metadata">

**Author:** ![uday368](https://avatars.discourse-cdn.com/v4/letter/u/ebca7d/32.png) [@uday368](https://community.postman.com/u/uday368)\
**Post date:** [May 9, 2021, 5:29am UTC](https://community.postman.com/t/python-server-flask-500-internal-server-error/12710/4 "2021-05-09T05:29:26Z")

</div>

I to got the same error, I tried many ways but still not able to resolve the error. I update the flask 1.1.2 even though no use. And try to remove the cookies, change the postman SSL setting still no use. Please any one have the suggestions ?

 ![e8](https://us1.discourse-cdn.com/getpostman/original/2X/1/1532eda8568853e63ee870b53a4ecba84e7314a6.jpeg)
