...
The conversion fails because the definition of the parameter 201 contains the key "typeOfStatisticalProcessing". Check the GRIB2 representation of this parameter in the Parameter database.
A value of 2 means "Maximum", see code table for key "typeOfStatisticalProcessing".
The grib_set command above sets the Product Definition Template number to 0 (instantaneous) because that is the default.
...