What to do if getting the error The remote server returned an error: (403) Forbidden?

Modified on Wed, 19 Feb at 4:44 PM

FIRST CREATED ON 19 Feb 2024  I  AUTHOR Emma Camacho


When rebuilding the cache of a Datasource, generating a Report or running a task the following error will appear if M&D doesn't have permission to access the Qlik Sense App.


Issue


Der Remoteserver hat einen Fehler zurückgegeben: (403) Unzulässig. 

The remote server returned an error: (403) Forbidden.


STACK TRACE
WebSocketException: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
bei MailAndDeploy.Server.ExtensionMethods.Await(Task pTask, TimeSpan pTimeout)
bei MailAndDeploy.Server.Json.Rpc.JsonRpcConnection..ctor(Uri pUri, JsonRpcCookie[] pCookies, JsonRpcHeader[] pHeaders)
bei MailAndDeploy.Server.Connectors.QlikSense.QsEoWConnector.EstablishRpcConnection(Uri pUri, JsonRpcCookie[] pCookies, JsonRpcHeader[] pHeaders)
bei MailAndDeploy.Server.Connectors.QlikSense.QsEoWConnector.GetAppIdentifiers()
bei MailAndDeploy.Server.Services.Management.Ui.QlikSenseServerAppDatasourceSheet.ReloadAppsDropDown()
bei MailAndDeploy.Server.Services.Management.Ui.QlikSenseServerAppDatasourceSheet.GeneralPage_AppField_ButtonClicked(String pSender)
WebException: Der Remoteserver hat einen Fehler zurückgegeben: (403) Unzulässig.
bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
bei System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei System.Net.WebSockets.ClientWebSocket.d__21.MoveNext()


Resolution


Note the Authentication Type property of the Datasource


a) If using Service Account: Make sure that the service account has permissions to access the App.


The service account is this one:

 you can also find it here
M&D Management Console -> Settings -> Server


b)  If using Custom Credentials: Make sure that the account defined has permissions to access the App.



c) If using Impersonation (Section Access): Make sure that the account defined has permissions to access the App: directory\account. 




Looking for Additional Guidance?


If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article