Python fetch data by id error



anyone can solve the error