From Portal Dashboard , HTTP 404/499 Errors, when trying to Add Application and not able to Add an API because the "Add API" button is not present
The logs show the dispatcher reporting 499 (client closed connection) and 404 errors when calling /api-management/0.1/auth-providers and Settings('APP_SECRET_HASHING_METADATA'
CA Developer Portal 5.3.1
portal user account grantsm missed
1. check the portal user's permission on this server
login with admin/7layer and then use the Google Developer tools to check under "Network" tab
2. select the "/userContexts" name, then click on "Response"
check under under ""permissions": {" , IF there is not Permissions Granted for the user
the expected outcome is to see something like for API and Applications , Organization, Roles, etc:
"PRODUCTS_API": [
"CREATE",
"READ",
"UPDATE",
"DELETE"
],.
3.If the above not showed and instead there is not permissions set..
Connect to the portal database container and run the grant command :
By using :
GRANT ALL PRIVILEGES ON *.* TO '<USERNAME>'@'%';
ie:
GRANT ALL PRIVILEGES ON *.* TO 'portal'@'%';
4. once finished the command, quit from mysql and refresh the Portal Page