I am currently creating an application with Flask, and I am throwing the POSTed information into the JSON file, but when I start the local server and do the above, it can be processed normally.
Internal Server Error
at the point of POST and writing to the JSON file on the published wsgi server.
will be printed.
The part where the error occurs is the process of writing to the file, but is it possible that the local server is successful and the wsgi server fails?
A failure I make is a lack of permission to the file system.
When you do it locally, you are the user, but the publishing server is the only user.
Also, the file path that is supposed to point to a particular directory points in a direction that is not a misconfiguration of the environment variable.
© 2024 OneMinuteCode. All rights reserved.