added get_nfo to api and added the correct error if the sent command is not accepted