Posted November 17, 20177 yr The license api return incorrect format data tested in last version. Correct format is {"errorCode":0,"errorMessage":"BAD_METHOD"} where errorCode is a int But other erros return like this throw new ApiException( 'MAX_USES', 201 ); ->This code is in the current version and return {"errorCode": "MAX_USES", "errorMessage": 201} How to fix it? Search the file "root/applications/nexus/interface/licenses/index.php" and search the code catch ( ApiException $e ) { $api->error( $e->getMessage(), $e->getCode() ); } and replace for catch ( ApiException $e ) { $api->error($e->getCode(), $e->getMessage() ); } Edited November 17, 20177 yr by FRANCISCO MONREAL SEGURA
Archived
This topic is now archived and is closed to further replies.