improves error handling for fedorainvalidrequest and unknown models