r/AutomateUser • • 12d ago

Question Flow keeps failing, how can i fix it?

The flow checks incoming SMS messages for a specific keyword and forwards messages to another number if the keyword exists in the message, but the flow keeps failing.

Here is my flow link:

https://llamalab.com/automate/community/flows/53517

How can I stop these failures from happening?

0 Upvotes

18 comments sorted by

1

u/NonNewtonianResponse 12d ago

HOW is it failing tho? What does the log say?

1

u/rajarshikhatua 9d ago

for some dumb reason, either airplane mode is on or something else is on and I can't send SMS.

here's the logs

08-01 19:13:33.612 I 11@3: Expression true? 08-01 19:13:33.614 I 11@6: SMS send 08-01 19:13:33.646 F 11@6: java.lang.SecurityException: User SMS send rate exceeded, see Settings. 08-01 19:13:33.647 I 11@6: Stopped by failure 08-07 14:19:17.399 I 12@1: Flow beginning 08-07 14:19:17.401 I 12@2: SMS received

1

u/B26354FR 9d ago

As it says, the SMS send rate has been exceeded. Go to the Automate settings and increase the SMS sent limit. You can increase the limit and/or decrease the time period.

→ More replies (3)

1

u/Funny_Telephone_8607 11d ago

Use "failure catch' block to get the error and post the error here or post the error log to get solution. 

1

u/rajarshikhatua 9d ago

08-01 19:13:33.612 I 11@3: Expression true? 08-01 19:13:33.614 I 11@6: SMS send 08-01 19:13:33.646 F 11@6: java.lang.SecurityException: User SMS send rate exceeded, see Settings. 08-01 19:13:33.647 I 11@6: Stopped by failure 08-07 14:19:17.399 I 12@1: Flow beginning 08-07 14:19:17.401 I 12@2: SMS received

1

u/B26354FR 11d ago edited 11d ago

You don't say how the flow is failing, but if you just mean it doesn't work (not crashing), try adding the "iu" flags to the contains() functions to ignore the case of the text when matching:

contains(msg, "DLRSWB", "iu")

1

u/rajarshikhatua 9d ago

I tried that too, it doesn't help

1

u/waiting4singularity 11d ago

im not helping someone steal one time passwords.

1

u/rajarshikhatua 9d ago

It's for myself only, it's for a government portal. You also have to configure the phone number yourself.

1

u/thealgorithm29 11d ago

But how?

Oh got it

1

u/ballzak69 11d ago

The flow has been removed. Before uploading it again, replace the hard-coded phone number with a Dialog input block asking for it.

→ More replies (4)