Question

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

  • 9 March 2023
  • 1 reply
  • 7 views

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

Badge +11

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.

Reply