Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

client.post Error: Request failed with status code 400 #247

Open
cct-tiecheng-zhang opened this issue Feb 10, 2023 · 0 comments
Open

client.post Error: Request failed with status code 400 #247

cct-tiecheng-zhang opened this issue Feb 10, 2023 · 0 comments

Comments

@cct-tiecheng-zhang
Copy link

🐛 Bug Report

const { data } = await client.post("/m_works", { "col1": "value1", "col2": "value2" }, {return: "representation"});

Error: Request failed with status code 400
    at createError (D:\powerx-mes-app-backend\node_modules\postgrester\node_modules\axios\lib\core\createError.js:16:15)
    at settle (D:\powerx-mes-app-backend\node_modules\postgrester\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (D:\powerx-mes-app-backend\node_modules\postgrester\node_modules\axios\lib\adapters\http.js:312:11)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1334:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant