As long as it is an international credit card, it can be used in Malaysia. Of course, the premise is that the place of consumption has a transaction method that uses credit cards as transaction settlement. The inability to use may be due to a problem with your own card, perhaps an overdraft, or the card may have lost its magnetism, etc. In short, it is unlikely that the problem lies in Malaysia.
If the inability to swipe your card causes you inconvenience, it is recommended that you consult the bank’s customer service immediately.
Good luck!