#Getting an error message on updateCart

5 messages · Page 1 of 1 (latest)

gray imp
#

Hey, I am getting the following error message when I try to add a billing and shipping address in the next.js storefront. This happens when I add an email address that has never been used before.

Error: Customer with id,cus_01GDXKATGWKBQ92MZX1B1CX5NT: 0 was not found
    at CustomerService.<anonymous> (/home/share/Developing/medusa/medusa-backend/node_modules/@medusajs/medusa/dist/services/customer.js:279:35)
    at step (/home/share/Developing/medusa/medusa-backend/node_modules/@medusajs/medusa/dist/services/customer.js:59:23)
    at Object.next (/home/share/Developing/medusa/medusa-backend/node_modules/@medusajs/medusa/dist/services/customer.js:40:53)
    at fulfilled (/home/share/Developing/medusa/medusa-backend/node_modules/@medusajs/medusa/dist/services/customer.js:31:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  type: 'not_found',
  code: undefined,
  date: 2022-09-26T19:10:43.273Z
}```
#

I already tried to clear all Cookies and create a new cart. I also recreated the database (Postgres).

gray imp
#

I have now tested it again with an SQLite database and I no longer get an error here.

uneven summit
#

In the meantime, you can use the snapshot release: yarn add medusa-payment-stripe@0.0.0-snapshot-20220918201823