none
When i remove Target Variable, I got "Score Model (AFx Library) : Error 10: Argument 1 Array must not be empty." RRS feed

  • Question

  • While testing the model, I removed the Target Variable and i tried to test the Prediction we got "Error 10: Argument 1 Array must not be empty." error message.

    Error Message: Score Model (AFx Library) : Error 10: Argument 1 Array must not be empty.
    Site Path: /workspaces/4f88fd49ed014c04a8a62c735754420d/webservices/2d31dbb335e44231a8f252fa31b9aed0/endpoints/default/test/rrs
    Activity ID: 82e53138-b3b9-4a94-8695-0b8152c505ac
    Request ID: 14993e82-d519-41c1-a87f-19117ac48b54
    Workspace ID: 4f88fd49ed014c04a8a62c735754420d
    Workspace Type: PaidStandard
    User Role: Owner
    Tenant ID: cb8d0f5e-295e-44f1-8cab-184ae827c864

    Target Variable : HaH_First_Contact_Days 


    Narendra Prasad K

    Tuesday, October 29, 2019 10:00 AM

All replies

  • Hello Narendra,

    Based on the experiment that was used to deploy this web service it looks like the train module might have generated this error. A good way to debug the same would be to enable logs on your web service from the configure section of your web services dashboard and run a new request. The logs would be available in the storage container that is configured for your ML workspace. 

    Also, Could you please check the service swagger document for the input parameters that are required and provide all the inputs while testing? To get the swagger document you can follow the steps mentioned below to view the document.

    1. Click Consume tab from the web services dashboard.
    2. On the Consume page, copy the Request-Response URL.
    3. In the URL, replace execute?api-version=2.0&format=swagger with swagger.json
    4. Paste the URL into your browser to view the swagger JSON file.

    -Rohit

    Thursday, October 31, 2019 6:34 AM
    Moderator