AzureOpenAIEmbeddings Erroring Out

We are using embedding model with AzureOpenAIEmbeddings. It is erroring out with

Error code: 400 - {'error': {'message': "request body doesn't contain valid inputs"}}

Currently at 0.3.28 version for langchain-openai. These were the fixes we had to make to fix this issue in the package

langchain_openai\embeddings\base.py - Change check_embedding_ctx_length: bool to True
langchain_openai\embeddings\base.py - Line 654 change return self.embed_documents([text], **kwargs)[0] to return self.embed_documents(text, **kwargs)[0]

Is anyone else facing this issue?