We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createOrderEditShippingMethodWorkflow
I've been trying to update the shipping methods for existing draft orders and came across the following error after fixing #11558
When using: createOrderEditShippingMethodWorkflow
I get the following error: OrderClaim id not found: order_01XXXX
OrderClaim id not found: order_01XXXX
Error: OrderClaim id not found: order_01JMMRNEJPCS2RFQCBWB3H1B28\n' + ' at RemoteJoiner.checkIfKeysExist (medusa/node_modules/@medusajs/orchestration/src/joiner/remote-joiner.ts:556:13)\n' + ' at RemoteJoiner.fetchData (medusa/node_modules/@medusajs/orchestration/src/joiner/remote-joiner.ts:493:10)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at async RemoteJoiner.query (medusa/node_modules/@medusajs/orchestration/src/joiner/remote-joiner.ts:1230:22)\n' + ' at async RemoteQuery.query (medusa/node_modules/@medusajs/modules-sdk/src/remote-query/remote-query.ts:289:12)\n' + ' at async Query.query (medusa/node_modules/@medusajs/modules-sdk/src/remote-query/query.ts:126:12)\n' + ' at async Object.<anonymous> (medusa/node_modules/@medusajs/core-flows/src/common/steps/use-remote-query.ts:135:22)\n' + ' at async Object.invoke (medusa/node_modules/@medusajs/workflows-sdk/src/utils/composer/helpers/create-step-handler.ts:72:52)\n' + ' at async DistributedTransaction.handler (medusa/node_modules/@medusajs/orchestration/src/workflow/workflow-manager.ts:214:16)\n' + ' at async stepHandler (medusa/node_modules/@medusajs/orchestration/src/transaction/transaction-orchestrator.ts:827:20)\n' + '⮑ sat medusa/apps/backend/src/workflows/order/workflows/create-order-edit-shipping-method.ts: [create-order-edit-shipping-method2 -> order-query (invoke)]
This also affects the api endpoint for order edits shipping methods e.g: /admin/order-edits/order_01XXXX/shipping-method
/admin/order-edits/order_01XXXX/shipping-method
The error is due to the wrong entity being queried for the workflow, it is currently looking at "order_claim" rather than "orders"
I have fixed and will create a pull request,
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happended?
I've been trying to update the shipping methods for existing draft orders and came across the following error after fixing #11558
When using:
createOrderEditShippingMethodWorkflow
I get the following error:
OrderClaim id not found: order_01XXXX
This also affects the api endpoint for order edits shipping methods e.g:
/admin/order-edits/order_01XXXX/shipping-method
The error is due to the wrong entity being queried for the workflow, it is currently looking at "order_claim" rather than "orders"
I have fixed and will create a pull request,
Thanks!
The text was updated successfully, but these errors were encountered: