diff --git a/Model/Carrier/BobGo.php b/Model/Carrier/BobGo.php
index d269be10d69d3b406fd4412d28b3a3e6f0fbad17..938e847d2201d64d520af022f72b8ed98a98a8ea 100644
--- a/Model/Carrier/BobGo.php
+++ b/Model/Carrier/BobGo.php
@@ -535,7 +535,7 @@ class BobGo extends AbstractCarrierOnline implements \Magento\Shipping\Model\Car
     public function getAllowedMethods(): array
     {
         $allowedMethods = $this->getConfigData('allowed_methods');
-        if ($allowedMethods === false) {
+        if ($allowedMethods === false || $allowedMethods === null || trim($allowedMethods) === '') {
             return []; // Return an empty array if no allowed methods are configured
         }