Skip to main content
Question

API call failing due to two way authentication, but can access URL through web browser

  • March 9, 2023
  • 1 reply
  • 26 views

suchita_15
Participant
Forum|alt.badge.img+2

Hi, I am trying to connect to my organisation sharepoint to fetch PDF files stored there, but API call is giving 401 error code with the message "An error occurred while accessing the URL".

I am using the username password in the HTTP caller that is used to access the sharepoint in the web browser, but is it not working. The workbench is running on the server, which has another set of authentication, and I am not sure if that is the reason why I am unable to access the API though FME, while I can through the browser.

Can you please provide some solution or workaround for this?

1 reply

steveatsafe
Safer
Forum|alt.badge.img+12

Hi @Suchita Mitra​ , Are you familiar with Postman? It would be a good idea to test outside of FME.

It feels like something may not be formed correctly in the URL. If this persists perhaps open a case at www.safe.com/support and we can always followup back here on the solution/outcome.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings