This is the error I am getting from Bubble
There was an issue setting up your call.
Raw response for the API
Status code 500
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
 This is the API Call that is getting the error@app.route(‘/generate_internship’, methods=[‘POST’])
def generate_internship():
data = request.json
location = data.get(‘location’)
field = data.get(‘field’)# Input validation if not location or not field: return jsonify({'error': 'Missing location or field'}), 400 specific_internship = generate_internship(location, field) return jsonify({'internships': specific_internship}), 200
this is the code that my api is calling