Skip to content

Commit c61449b

Browse files
Merge pull request #264594 from KazuOnuki/kazuyaonuki-patch-4
ADD common Batch Deployment troubleshooting.
2 parents 73f6301 + 924e63f commit c61449b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/machine-learning/how-to-troubleshoot-batch-endpoints.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@ __Reason__: The access token used to invoke the REST API for the endpoint/deploy
194194

195195
__Solution__: When generating an authentication token to be used with the Batch Endpoint REST API, ensure the `resource` parameter is set to `https://ml.azure.com`. Please notice that this resource is different from the resource you need to indicate to manage the endpoint using the REST API. All Azure resources (including batch endpoints) use the resource `https://management.azure.com` for managing them. Ensure you use the right resource URI on each case. Notice that if you want to use the management API and the job invocation API at the same time, you'll need two tokens. For details see: [Authentication on batch endpoints (REST)](how-to-authenticate-batch-endpoint.md?tabs=rest).
196196

197+
### No valid deployments to route to. Please check that the endpoint has at least one deployment with positive weight values or use a deployment specific header to route.
198+
199+
__Reason__: Default Batch Deployment isn't set correctly.
200+
201+
__Solution__: ensure the default batch deployment is set correctly. You may need to update the default batch deployment. For details see: [Update the default batch deployment](how-to-use-batch-model-deployments.md?tabs=cli&#update-the-default-batch-deployment)
202+
197203
## Limitations and not supported scenarios
198204

199205
When designing machine learning solutions that rely on batch endpoints, some configurations and scenarios may not be supported.

0 commit comments

Comments
 (0)