Keyword argument `table` should be either of type `dict` or `list`, but is <class 'str'>)

Hye when I am sending the JSON data to the inference API it shows that the table argument where I am fetching the data from my table and posting it as a JSON in the inference API function call but getting that the Keyword argument tbale should be either list or dict and it find that its a string.