-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When executing the Get order and Search for orders actions, the API returns an invalid response. It seems to be failing to parse the Shopify response.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://pipedream.com/connect/demo?app=shopify_developer_app&type=action&component=shopify_developer_app-get-order'
- Connect to Shopify account
- Fill in anything in the `Order id' field
- Press 'Submit'
- Observe error
Expected behavior
The API to return a order object or a 404/similar response, indicating that no order was found.
Additional context
Exact error response:
{
"os": [
{
"ts": 1762425014699,
"k": "error",
"err": {
"name": "Error",
"message": "\n Unexpected error (error code: undefined):\n \"[\"\n ",
"stack": "Error: \n Unexpected error (error code: undefined):\n \"[\"\n \n at file:///tmp/__pdg__/dist/code/8195108b2c98c8f6d66acb75d959f204cf001230751818b143ac658a8d052b21/node_modules/.pnpm/@[email protected]/node_modules/@pipedream/shopify/shopify.app.mjs:307:25\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.run (file:///tmp/__pdg__/dist/code/8195108b2c98c8f6d66acb75d959f204cf001230751818b143ac658a8d052b21/code/actions/get-order/get-order.mjs:25:22)\n at async file:///var/task/component_maker.mjs:170:11\n at async captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:5)\n at async run (file:///var/task/component_maker.mjs:157:20)\n at async file:///var/task/component_maker.mjs:199:11"
}
}
],
"exports": {},
"t": {
"ar": 1762425012287,
"br": 1762425012379,
"bp": 1762425012379,
"bls": 1762425012379,
"ble": 1762425014709
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Doing
