---
title: E10402 Invalid_Argument_Operator_Input_Buffer
description: "Input indexed %s requires a %s buffer, but %s aligned buffer is allocated."
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/troubleshooting/atlaserrorcode_15_0056.html
sourcePath: /source/zh/canncommercial/900/maintenref/troubleshooting/atlaserrorcode_15_0056.html
indexId: 7e48f3cc9cb6ebc943d80d575ab02930f60d18588e072b774f1d78fb0628e41884
---
# E10402 Invalid_Argument_Operator_Input_Buffer

#### Symptom

Input indexed %s requires a %s buffer, but %s aligned buffer is allocated.


#### Solution

Check whether the data type, dimensions, and shape are correctly set. For details, see the aclGetTensorDescSize API description in API Reference.
