Skip to main content
Question

Drag & drop files - Unauthorized error


Mark Leunissen
Captain
Forum|alt.badge.img+4

Hi

 

A couple of weeks ago I implemented the following topic to work in my on premise application. 

When I tested the drag and drop functionality myself, everything worked fine. This week however, the tester ran into an unauthorized error. After some testing myself I found something weird.

When I log into my application via: https://my-appl/universal and I try to upload a file I get the following error:

However, when I log in via https://my-appl/indicium and then navigate to https://my-appl/universal my file is uploaded successfully:

It seems like that logging in via the universal link doesnt give me the rights to upload a file, while logging into the indicium page does. On both pages, I log in with the same account, so there is no difference there. 

The upload URL that is used in the javescript code is https://my-appl/indicium/iam/appl/(table_refence). 

I am struggling to find where the problem lies. My guess is that this has something to do with the server settings of the on premise environment, since this problem never occured on the test enviroment which is hosted on Azure. 

 

Kind regards,

Mark

Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img
  • Moderator
  • 3 replies
  • July 17, 2025

Assuming you are hosting both Univeral and Indicium on IIS, are you sure you have all prerequisites as described here: https://docs.thinkwisesoftware.com/docs/deployment/indicium#prerequisites ?

A missing URL Rewrite Module might cause such problems.


Mark Leunissen
Captain
Forum|alt.badge.img+4

 Hi ​@Marcel Zuur ,

 

The URL Rewrite Module is installed. However, maybe a rewrite rule is missing that should be there. 

At this moment these are the rewrite rules that are in place for indicium. 

 

This is the only rule that is in place on the universal web page: 

 

Am I missing rewrite rules?


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Mark,

Could it be that the Indicium, Universal and the custom component are not on the same web domain? Otherwise it would be a strange error as the authentication should have been taken care of. Perhaps other Community members know more about integrating this custom component.


Mark Leunissen
Captain
Forum|alt.badge.img+4

Hi ​@Mark Jongeling 

 

I'll try and figure out if all the components are on the same web domain. De web domain is maintained by another partner of the client, therefore I don’t have full rights to change or look into the settings of the on premise enviroment.

Another weird thing is that on the test enviroment (hosted on Azure) logging into either the https://my-appl/universal or https://my-appl/indicium makes it so your are automatically logged in to both the webpages. On the on premise environment, I have to log into both web pages seperately. I think that this is the problem causing the unauthorized error. However, I still am unsure as to how to fix this problem.

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Seems like the on premise environment has some sort of wrong configuration then. Placing the components all on the same web domain should fix this issue. Hope that is it!


Mark Leunissen
Captain
Forum|alt.badge.img+4

​Hi @Mark Jongeling ,

 

Both indicium and universal are on the same webdomain ThinkACC as shown in the docs: 

I am still running into this issue due to the fact that the partner of the client is on leave, so any other ideas would be welcome!


Reply


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