I am using SugarCRM Version 188.8.131.52 ENT, which is recently upgrade from 7.7
Instance is working fine except REST API V10, after upgrade our rest api is not working. Problem in platform setting, if I use default platform "base" then it's working. please see below sample code where I am using "platform" => "exchange" , which is not working, getting Connection Failure. error.
$oauth2_token_arguments = array(
"grant_type" => "password",
//client id - default is sugar.
//It is recommended to create your own in Admin > OAuth Keys
"client_id" => "sugar",
"client_secret" => "",
"username" => $username,
"password" => $password,
//platform type - default is base.
//It is recommend to change the platform to a custom name such as "custom_api" to avoid authentication conflicts.
"platform" => "exchange"
I gone through the below documentations but no luck, tried to add my custom platform "exchange" as per below doc, but still I am unable to login via rest api.
$sugar_config['disable_unknown_platforms'] = false;
Please suggest me.