Remove trailing spaces
Commands tend to think there is an extra argument if there is a trailing space. We should remove them before parsing the command.
As of 2024-05-14 a change has been implemented to enforce access token expiry. If you see higher numbers of HTTP 401 responses, please check tokens that may have expired. For more details, including how to mitigate disruption, please check our docs guide on Expired Access Tokens. If you have a support contract, you may open a support ticket for additional assistance.
Commands tend to think there is an extra argument if there is a trailing space. We should remove them before parsing the command.