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
500 Internal Server Error
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
Jici
2
We cannot help you with this information.
Please share your API Connector settings and link to API doc
I’m not sure what you mean by API doc. The thing that my API connector is calling is my code which I have shared above.