Popup works but fails to display any errors from API