Using Resource metadata
Throw instead of message