400 error What should I do?

{‘error’: [{‘message’: ‘update vector: failed with status: 400 error: list indices must be integers or slices, not str’}]}

I got this error when I changed the huggingface model to huggingface inference endpoint. What should I do?


We need more context. Can you have a code where we can reproduce this?