Rest API - HTTP Status Codes
You have this Python Flask endpoint:
Sometimes this returns a 500 error. What is a likely cause?
@app.route('/info')
def info():
data = get_data()
return jsonify(data)Sometimes this returns a 500 error. What is a likely cause?
