N8N integration using OpenAI api

Hello,
I have been trying few days to integrate DeepInfra with N8N but unfortunately without success.
The issue comes when I try to use embedings node, everything else works, but this api reference seems to not work.

Does anyone knows how to do this?

Hi @jasarovic.enis

Can you share how is OpenAI API being consumed to help us help you?

Yes of course.
When I use custom baseUrl with openAi chat node that hits deepinfra api (provided from deepinfra) I am getting correct models, and communication between api and the node is ok I get all the models and everything else.
When I try to use embeding model from deepinfra, using custom base url I am not getting a list of models, and node fails in execution.

And this is screen shot of failing node:

Any idea?

According to the error you’re seeing the issue seems to be that there’s no body sent for the create embeddings request.