Error: Missing required parameters. Both category and input are required.