Closed ryanford closed 2 years ago
BigcommerceApiError: Big Commerce API error (500) Headers: { "connection": "keep-alive", "content-type": "application/problem+json", "host": "api.bigcommerce.com", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", "x-rate-limit-requests-left": "449", "x-rate-limit-requests-quota": "450", "x-rate-limit-time-reset-ms": "29999", "x-rate-limit-time-window-ms": "30000", "x-request-id": "[[snip]]" } at Object.fetchStoreApi [as storeApiFetch] (webpack-internal:///./framework/bigcommerce/api/utils/fetch-store-api.ts:38:11) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:93:5) at async Object.addItem (webpack-internal:///./framework/bigcommerce/api/cart/handlers/add-item.ts:41:16) at async cartApi (webpack-internal:///./framework/bigcommerce/api/cart/index.ts:52:14) at async apiResolver (/home/ryan/Projects/commerce/node_modules/next/dist/next-server/server/api-utils.js:8:1) at async DevServer.handleApiRequest (/home/ryan/Projects/commerce/node_modules/next/dist/next-server/server/next-server.js:64:462) at async Object.fn (/home/ryan/Projects/commerce/node_modules/next/dist/next-server/server/next-server.js:56:492) at async Router.execute (/home/ryan/Projects/commerce/node_modules/next/dist/next-server/server/router.js:23:67) at async DevServer.run (/home/ryan/Projects/commerce/node_modules/next/dist/next-server/server/next-server.js:66:1042) at async DevServer.handleRequest (/home/ryan/Projects/commerce/node_modules/next/dist/next-server/server/next-server.js:34:504) { status: 500, res: Response { size: 0, timeout: 0, [Symbol(Body internals)]: { body: [PassThrough], disturbed: true, error: null }, [Symbol(Response internals)]: { url: 'https://[[snip]]/stores/[[snip]]/v3/carts/[[snip]]/items?include=line_items.physical_items.options', status: 500, statusText: 'Internal Server Error', headers: [Headers], counter: 0 }, [Symbol(dnsCachedUrl)]: 'https://[[snip]]/stores/[[snip]]/v3/carts/[[snip]]/items?include=line_items.physical_items.options' }, data: '' }
Fix I used: #364
Looks like this has been fixed already!
Fix I used: #364