After successfully entering credentials on the connection page using the "Login with APIML PAT" option, B4G returns an INVALID_MF_CREDENTIALS error during the "refresh element" action.
Bridge for Git log shows:
| Operation: Refresh elements
| Mapping: XXXX
| Result: FAILED - INVALID_MF_CREDENTIALS
| User: XXXX
| Summary: Your mainframe account might be suspended or your credentials have expired.
| Action: Please check your mainframe credentials for this branch.
| Messages:
| - Invalid endevor credentials
All support Endevor Versions
Bridge for Git v2.15.x or higher or Bridge for Git v3
ZOWE APIML 2.x or 3.x
The INVALID_MF_CREDENTIALS error occurs because the Zowe API Mediation Layer Gateway is not configured to accept Personal Access Tokens. Even if a user can successfully authenticate to the APIML to issue a token, the Gateway security component will not validate or pass that token to downstream services (like Endevor Web Services) unless the PAT security feature is explicitly enabled in the configuration.
To resolve this issue, you must enable Personal Access Token support in the Zowe configuration and restart the services.
zowe.yaml configuration file.