HttpError : 500 server Error

OS : macOS
Languages : Python and Swift

I’m trying to load a model which is on roboflow using the API. But when I try on my mac I have this issue.

HTTPError: 500 Server Error: Internal Server Error for url: https://detect.roboflow.com/pmi-lu0ab/14?api_key=KEY&name=YOUR_IMAGE.jpg&overlap=30&confidence=40&stroke=1&labels=false&format=json

Either on swift or python. I tried on a windows pc and it worked. So I suppose the issue comes from my mac but where? I can’t use a windows pc because I want to create an iOS app and I need xCode so I need my mac.

thanks for the help