1. Home
  2. Knowledge Base
  3. Bot assistant
  4. How to solve the “Invalid BAQL query: PS: action malformed” error

How to solve the “Invalid BAQL query: PS: action malformed” error

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

  1. Then go to the bot assistant 3commas app https://3commas.io/d/apps/63/show.
  2. Click on the BAQL tab.
  3. 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.
  4. 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).
Example of a BAQL instruction passing the validation
Example of a BAQL instruction not passing validation

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.

Was this article helpful?

Need Support?

Can't find the answer you're looking for?
Contact Support