Hello,
This issue seem you are passing wrong URL to the function. Please refer to below code sample:
Especially the variables for your resource's Azure endpoint and subscription keys part:
# Replace with valid values
ENDPOINT = "PASTE_YOUR_CUSTOM_VISION_TRAINING_ENDPOINT_HERE"
training_key = "PASTE_YOUR_CUSTOM_VISION_TRAINING_SUBSCRIPTION_KEY_HERE"
prediction_key = "PASTE_YOUR_CUSTOM_VISION_PREDICTION_SUBSCRIPTION_KEY_HERE"
prediction_resource_id = "PASTE_YOUR_CUSTOM_VISION_PREDICTION_RESOURCE_ID_HERE"
If you still can not find out the issue, please share the code your are using if that is not confidential.
Regards,
Yutong