The process API gives you maximum 2.000 x 2.000 px output (might be 2.500x2.500, not sure). So I am guessing that your BBOX, when “measured” in px of 10m size, is larger than that.
The resx/resy is defined in the “CRS units”. So if you are using WPSG:4326 (lot/lan), your units are lot/lan degrees, so your resolution is “10 deg”. Therefore you should convert the units from meters to degrees.
If you want to get “exact values” (as close to raw values as possible) it is recommended to use UTM CRS, in which case resx will be in meters.
But still I get the same error, i.e. {"error":{"status":400,"reason":"Bad Request","message":"The bounding box area is too large! Please zoom in.","code":"RENDERER_EXCEPTION"}}