Java Azure Function Iothub Error Indexing Method Value Cannot Be

Java Azure Function Iothub Error Indexing Method Value Cannot Be