Instagram Module Error

:bullseye: What is your goal?

Post on social media: Instagram, Facebook and LinkedIn

:thinking: What is the problem & what have you tried?

An unexpected error has occurred. Please retry your request later. (2, OAuthException)

:clipboard: Error messages or input/output bundles

Instagram returns an error, nothing is posted, and the scenario stops. There was one instance where it didn’t post to Instagram but also didn’t generate an error, and the scenario continued, but the first scenario is more common.

:link: Create public scenario page

I’m adding this information because I didn’t know where to add it initially:

Since the middle of last week, I’ve been getting the error “An unexpected error has occurred. Please retry your request later. (2, OAuthException)” every time I try to post a reel or carousel to Instagram.

The files have the correct specifications, so please don’t leave the standard response reminding me of the required dimensions, sizes, and formats. In fact, while I didn’t do it for all of them, the ones I posted manually didn’t produce any errors. Furthermore, most of them had already been posted previously using this same method.

The files are on my own server and are accessed via a standard URL. I don’t use Drive, Dropbox, or other platforms whose URLs Instagram restricts.

I didn’t make any changes to the setup or the permissions of the directory where the files are stored.

I hope you can help me solve this problem as soon as possible.

First i’m unable to access your scenario page

Secondly this shouldn’t be an issue social media posting is one of the awesome setup you can get done through make.com help me with a screenshot but with this error it would be from your connection ensure the connection to your instagram is sucessfully connected meaning you should reconnect it and note make only works with instagram business account give me a feedback after seeing my message

Thank you so much for your reply.

I re-authenticated the connection and waited until the end of the process before responding. It worked correctly today, so that was probably the issue. However, I’ll have to keep an eye on it in case there’s something else going on.

In any case (and as a suggestion for the Make team), if that was the problem, it would be quite helpful to specify it in the error message instead of just saying “unexpected error.” It would be easier to detect and fix without even having to resort to the help resources.

Thanks again for your help.

It’s a pleasure to help you out make.com does specify it in the error message ensure to check the content of the message.

Hello,

Recently, we have observed an increased rate of errors from the Meta API in our workflows. That is not exactly a Make problem, so until Meta fixes it, such issues may occur from time to time regardless of which automation platform you use.

You can add an error handler to your Instagram module, for example combining sleep + resume, or using the Break module as this error is temporary and often next call in few seconds can be successful.

And regarding the following issue:

You can add a router with 2 routes right after instagram module:

1st → the Instagram module returned a correct post ID, so the scenario can continue
2nd → the Instagram module did not return any output (for example, the post ID length is less than 1 or the post ID does not exist), which can notify you using an email module/ slack nofitication/ whatever is convenient for you.

Have a nice day,
Michal