Fix create response is not correctly handled in the schema data function