Removed RequestFailed exception and replaced with dict passing error status