--- title: "Get Predictions For CSVText" slug: "get-predictions-for-csvfile" updated: 2025-08-20T12:19:51Z published: 2025-08-20T12:19:51Z canonical: "documentation.decisions.com/get-predictions-for-csvfile" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Predictions For CSVText | Step Details | | --- | | **Introduced in Version** | 8.0.0 | | **Last Modified in Version** | 9.0.0 | | **Location** | Integration > Amazon AWS > Sagemaker | The **Get Predictions For CSVText** step is used to send model data from a CSV text to SageMaker which will return a prediction. ### Prerequisites - This step requires the [Amazon AWS Module](https://documentation.decisions.com/docs/aws) to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox, and an active [AWS account](https://signin.aws.amazon.com/signin?redirect_uri=https%3A%2F%2Fconsole.aws.amazon.com%2Fconsole%2Fhome%3FhashArgs%3D%2523%26isauthcode%3Dtrue%26nc2%3Dh_ct%26src%3Dheader-signin%26state%3DhashArgsFromTB_eu-north-1_c1412528899e4833&client_id=arn%3Aaws%3Asignin%3A%3A%3Aconsole%2Fcanvas&forceMobileApp=0&code_challenge=HQku5BPrRUboP5p1wGr4Ai_nBIQNSqsR2eHJNCBfxhQ&code_challenge_method=SHA-256). The [Amazon WebServices Settings](https://documentation.decisions.com/docs/setting-up-amazon-webservices-integration) must also be configured. - A [dependency](https://documentation.decisions.com/docs/project-dependencies) must be created after installing the module in order for the the steps to be properly used. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Csv Contents | Contents of a CSV file to predict for. | String | | Optional Settings | List of settings that can be established to set specific parameters. | Int32 | | Sagemaker Settings | Mandatory settings to establish in order to effectively predict CSV Text. | Int32 | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | List of resulting outputted prediction. | List of SagemakerResult | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-08-13_12h14_07.png) --- ## Common Errors ### Endpoint __________ of Account 000000000000 not found. If the inputted enpoint found under Sagemaker Settings does not exist, the step will cause an error. To correct this, change the endpoint input to be one that matches an endpoint inside a designated SageMaker domain. #### Exception Message: ```csharp DecisionsFramework.BusinessRuleException: [BusinessRule] Error running Sagemaker model ---> System.AggregateException: One or more errors occurred. (Endpoint LastName of account 230575086277 not found.) ---> Amazon.SageMakerRuntime.Model.ValidationErrorException: Endpoint LastName of account 230575086277 not found. ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage) at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken) at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext) at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext) at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext) --- End of inner exception stack trace --- ``` --- Related Information Related Article: [AWS SageMaker](https://documentation.decisions.com/docs/aws-sagemaker-steps) [AWS Module](https://documentation.decisions.com/docs/aws)