Inference API call returning "HTTP/1.1 400 Bad Request" - DeepTalk - Deep Learning Community

Inference API call returning “HTTP/1.1 400 Bad Request”

post by alokob on Feb 6, 2025

Hi ,

We are using lambdalabs for inference. For some requests I am getting “HTTP/1.1 400 Bad Request” in response from https://api.lambdalabs.com/v1/chat/completions.

As response does not have any specific indicator of what's wrong in the request, so it's difficult to find out where it's failing to serve the inference. Please can anyone guide on this. Thanks

post by cody_b on Feb 6, 2025

Can you try the Using the Lambda Inference API > Creating chat completions cURL example and post the results?