Can anyone shed some light on why i’m getting a 404 error when trying to test a Step in my Zap that is connecting to Harvest?
I’ve completed the Setup > Configure correctly w/ my Step
When i test my step it says: The error message indicates a "404 Not Found" issue, which often occurs if the user account connected to Harvest does not have "admin" permissions. Ensure that the account used in the Zap has the necessary permissions to access the API.
I’m def an Admin. I’m assuming it’s an authentication error and i need to change how this step authenticates. any help would be great.
how your Zap steps are outlined and configured in EDIT mode
Thank you.
This issue has grown a bit. I see now that i was passing in the Harvest Invoice Number and not the Harvest Invoice ID. My question is, from Step 3, how can i get the invoice id by the invoice number from Step 2?
Step 3: How can i “Pick from List” where the QB Invoice Number and Harvest Number Invoice matches (contains) and returns the “ID of that object? I thought Formatter Utilites but that did not work. any thoughts on how to accomplish this would be appreciated.
Step 4: Find invoice by ID
Step 5: Mark ask Paid.
appreciate the help in architecting this Zap.
Best!
@Speckren
Options:
You can us Looping followed by a Filter step to compare values.
// Find the index of the docNumber in the searchValues array const index = searchValues.indexOf(docNumber);
// Prepare the output based on whether a matching index was found if (index !== -1) { output = { invoiceID: invoicesvindex] }; // Return the corresponding invoice ID } else { output = { message: 'No matching invoice found for the provided docNumber.' }; }
Yay! Thanks so much for following up here @Speckren to confirm that worked. And thanks also for sharing the code you used - this will be super helpful to others in the Community here that are looking to do the same thing!
And a big shout out to Troy for helping out here, it’s truly appreciated. 🧡