---
title: "Comment by Jeronimo Reguera on \"Semantic Search using OpenAI Embedding and Postgres Vector DB in NodeJS\" | Hashnode"
description: "Great post, congratulations! I&#39;m stuck on error 400 in the last step: node server.js (&quot;&#39;input&#39; is a required property&quot;, &#39;invalid_reque"
url: "https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb/comment/64909ab6c167b41645fcfc4b"
---

[Discussion](https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb)

Comment [Semantic Search using OpenAI Embedding and Postgres Vector DB in NodeJS](https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb)

[Jeronimo Reguera](https://hashnode.com/@Jero2760)

[Jun 19, 2023](https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb/comment/64909ab6c167b41645fcfc4b)

Great post, congratulations! I'm stuck on error 400 in the last step: node server.js ("'input' is a required property", 'invalid\_request\_error'). Any support?

[Fandy Aditya Wirana](https://hashnode.com/@fandyadityaw)

[Jun 20, 2023](https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb/comment/64909ab6c167b41645fcfc4b#reply-64919692aa3e031681683013)

Hey, I think that error from openAI Create embedding response. Maybe they detected no input from the apps Are you already add value to the `q` params?

[Jeronimo Reguera](https://hashnode.com/@Jero2760)

[Jun 20, 2023](https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb/comment/64909ab6c167b41645fcfc4b#reply-6491a4f6c167b41645fd1ec0)

[Fandy Aditya Wirana](https://hashnode.com/@fandyadityaw) Hi, you are right, I just needed the input (i.e. the q param), but did not expect to break the code trying to access localhost:9000. Thanks for your reply.

[Fandy Aditya Wirana](https://hashnode.com/@fandyadityaw)

[Jun 21, 2023](https://hashnode.com/posts/semantic-search-using-openai-embedding-and-postgres-vector-db-in-nodejs/641968cbb4765ce9298db7bb/comment/64909ab6c167b41645fcfc4b#reply-64925e8e68231d2c9f3307c9)

You're welcome!
