In n8n when the instagram graph api returns http error code 400, n8n still considers it a success.
This is wrong, it should have went to the error branch.
See screenshot below.
It should not ignore the “Response Code” by default.
Fyi: the error code 400 is because I need to add a wait block of 60 seconds in between posting the image to instagram and then posting the post itself.
Ideally n8n would handle this itself by GET /{creation_id}?fields=status_code request, with verification of output of FINISHED.
Raise this issue on GitHub from here. Temporarily, add an IF statement right after this node with a logic similar to the quote below until the internal team investigates this.