Skip to content

Limit of the length of string in description when the model is registered. #1070

@thoo

Description

@thoo

Register with a long description:

from azureml.core.model import Model

model = Model.register(model_path="sklearn_regression_model.pkl",
                       model_name="sklearn_regression_model",
                       tags={'area': "diabetes", 'type': "regression"},
                       description="""Limit of the length of string in description when the model is registered
Limit of the length of string in description when the model is registered.
Limit of the length of string in description when the model is registered.""",
                       workspace=ws)

Return

ERROR - Received bad response from Model Management Service:
Response Code: 400

...

It works if you have a shorter description like

description="""Limit of the length of string in description when the model is registered
Limit of the length of string in description when the model is registered."""

Metadata

Metadata

Assignees

Labels

ADOIssue is documented on MSFT ADO for internal trackingMLOpsproduct-feedbackIndicating it's product feedback

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @thoo@shivp950@lostmygithubaccount@v-strudm-msft

      Issue actions

        Limit of the length of string in description when the model is registered. · Issue #1070 · Azure/MachineLearningNotebooks