Finally figured out the errorcode for prompt
Small tweak to prompt