@Override
    public String getConfig(String dataId, String group, long timeoutMs) throws NacosException {
        return getConfigInner(namespace, dataId, group, timeoutMs);
    }
@Test
    void testGetConfig403() throws NacosException {
        final String dataId = "1localcache403";
        final String group = "2";
        final String tenant = "";
        
        MockedStatic<LocalConfigInfoProcessor> localConfigInfoProcessorMockedStatic = Mockito.mockStatic(LocalConfigInfoProcessor.class);
        try {
            //fail over null
            localConfigInfoProcessorMockedStatic.when(() -> LocalConfigInfoProcessor.getFailover(any(), eq(dataId), eq(group), eq(tenant)))
                    .thenReturn(null);
            
            //form server error.
            final int timeout = 3000;
            Mockito.when(mockWoker.getServerConfig(dataId, group, "", timeout, false))
                    .thenThrow(new NacosException(NacosException.NO_RIGHT, "no right"));
            try {
                nacosConfigService.getConfig(dataId, group, timeout);
                assertTrue(false);
            } catch (NacosException e) {
                assertEquals(NacosException.NO_RIGHT, e.getErrCode());
            }
        } finally {
            localConfigInfoProcessorMockedStatic.close();
        }
    }