<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Unable to connect to SharePoint REST services using InfoPath 2013</title><link>https://www.infopathdev.com:443/forums/thread/119251.aspx</link><pubDate>Mon, 18 Jun 2018 08:08:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119251</guid><dc:creator>Karthik22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119251.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119251</wfw:commentRss><description>Hello All,

I am trying to get the current user logged in to SharePoint using the endpoint : https:\\site-address\_api\web\currentuser.
I am adding this REST service as RECEIVE DATA DATA CONNECTION and then enabled this data connection to fetch once the form opens.

But when the form opens in the InfoPath 2013 client, i am getting the popup to enter the credentials. 
On entering proper credentials, it is asking for again and again and resulting in error.

Error received:
We are unable to connect right now. Please check your network and try again later.

But this error is occurring only in some desktops and in other desktops it is opening properly. In Other desktops where the form opens, InfoPath is not asking for cred. It is authenticating automatically.

Used data connection :  https:\\site-address\_api\web\currentuser
InfoPath Version : 2013
SharePoint site : SharePoint 0365
Office version: 2016

Is any one please share your view or ideas why i am getting this error ?</description></item></channel></rss>