update error message when InlineAdapter is used