If the commands are not working through some library you are using to access the MultiChain API, but they are working fine through the multichain-cli command-line interface, then the problem will not be in MultiChain but in the library you are using to access its API. Please reach out to that library's author.