Jump to content

API of license BUG


Recommended Posts

The license api return incorrect format data tested in last version.

Correct format is 


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() );


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...