You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EBayError: Request failed with status code 400
at new EBayError ([REPO]\node_modules\@hendt\ebay-api\src\errors\index.ts:17:5)
at Object.exports.handleEBayError ([REPO]\node_modules\@hendt\ebay-api\src\errors\index.ts:179:2)
at Inventory.<anonymous> ([REPO]\node_modules\@hendt\ebay-api\src\api\restful\index.ts:204:7)
at step ([REPO]\node_modules\@hendt\ebay-api\lib\api\restful\index.js:57:23)
at Object.throw ([REPO]\node_modules\@hendt\ebay-api\lib\api\restful\index.js:38:53)
at rejected ([REPO]\node_modules\@hendt\ebay-api\lib\api\restful\index.js:30:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
meta: {
res: { status: 400, statusText: 'Bad Request', headers: [Object] },
req: {
url: 'https://api.ebay.com/sell/inventory/v1/bulk_create_offer',
method: 'post',
headers: [Object],
params: undefined
},
[Symbol(raw-error)]: Error: Request failed with status code 400
at createError ([REPO]\node_modules\axios\lib\core\createError.js:16:15)
at settle ([REPO]\node_modules\axios\lib\core\settle.js:17:12)
at Unzip.handleStreamEnd ([REPO]\node_modules\axios\lib\adapters\http.js:260:11)
at Unzip.emit (events.js:376:20)
at endReadableNT (internal/streams/readable.js:1336:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
config: [Object],
request: [ClientRequest],
response: [Object],
isAxiosError: true,
toJSON: [Function: toJSON]
}
}
}
This is the response I get when sending the request to eBay via their web tool, which includes the duplicated offer ID that I need. I can't find any way to get this from the e that is thrown by the bulkCreateOffer request.
When using the bulk create offer endpoint, e.g.:
I get this from the console:
This is the response I get when sending the request to eBay via their web tool, which includes the duplicated offer ID that I need. I can't find any way to get this from the
e
that is thrown by thebulkCreateOffer
request.The text was updated successfully, but these errors were encountered: