Issue 4029 widget rest api various errors