If the bot assistant is not updating your bot tokens and then you go to self service to troubleshoot the issue and you find out this error in your bot.
Invalid BAQL query: PS: action malformed” error

- Then go to the bot assistant 3commas app https://3commas.io/d/apps/63/show.
- Click on the BAQL tab.
- Paste the BAQL instruction in the textfield and modify it until is accepted. Use the BAQL reference to learn what could be wrong more or ask a moderator to help you in the bot assistant discord channel.
- Before amending the BAQL instruction in the name of your bot make sure it passes the BAQL instruction validator (BAQL tab in the 3commas app).


As you can see the instruction above didn’t pass because the number of tokens should come after the category which in this case is ALL.