Desperately Need Help with My Pinterest Flow!

Guys, I am having this Pinterest Scenario set up and I am pretty sure 95% of it is correct. My issue now is that the “Get a Board Pinterest Module” returns a 404 error when the board is not found. Which is exactly what I want. The problem now though is that the scenario simply stops at this Get a Board Module and the Data is not passed on to Route 1, which would be the desired behaviour. And I just can’t figure out why not.

When I add an error handler, I can catch the 404 Runtime Error just fine but then again the scenario just stops (this time the data flows until the error handler)…but I need it to flow on in the case of this 404 error and take route 1! I just can’t figure out what’s wrong. this is driving me insane.

I would be extremely grateful for some help here! Going crazy soon.

Thank you very much.

Best,

Marcel

@djeasily, Try ‘resume’ error handler ?

1 Like

Welcome to the Make community!

That’s what the error directive Resume allows you to do. First, you use a Search/Get module to see if it exists, then Create a new item if it doesn’t exist. In the Create field, you use an if-statement to “ignore” a required field if there are search results, throwing an error and allowing you to “skip” the creation module.

The if (not-exist-create-ignore) throws the error (ignore if exists), which the Resume directive can be used to return the item from the Search module (to check if it exists).

I also explained this in a similar older post Can I skip a module based on a filter? - #3 by samliew

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

2 Likes

Thanks Sam. I appreciate it. It’s a bit difficult for me now to understand what to do though. I have restructured my flow a bit and at least I can get to the end of the routes. but my issue now is that I don’t know how to adjust it to make it work really.

My logic is that I want to create Pinterest pins for different pinterest boards. if there is already a board existing for the pin that I want to pin, then the pin simply goes into that board. If there is no board existing for the pin that I want to pin, then a new board needs to be created and then the pin gets pinned into that new board.

Here’s what I currently have.

The issue now is that my pins just get posted to all boards instead of just one specific board. so the check for existing boards does not seem to work.