def method_not_found(request_id):
response = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:id>': request_id,<EOL>'<STR_LIT:error>': {<EOL>'<STR_LIT:code>': -<NUM_LIT>,<EOL>'<STR_LIT:message>': '<STR_LIT>',<EOL>},<EOL>}<EOL>raise ServiceException(<NUM_LIT>, dumps(response))<EOL>
JSON-RPC method not found error.

    :param request_id: JSON-RPC request id
    :type request_id: int or str or None