FRANCISCO MONREAL SEGURA Posted November 17, 2017 Posted November 17, 2017 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() ); }
Joel R Posted November 22, 2017 Posted November 22, 2017 Submit this in a support ticket and Mark as a bug.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.