datatools-server icon indicating copy to clipboard operation
datatools-server copied to clipboard

404 Error when calling api/manager/secure/usercount

Open philip-cline opened this issue 3 years ago • 2 comments

Observed behavior

A 404 error is received when trying to make a request to api/manager/secure/usercount to get the total count of users.

Expected behavior

The request should not produce a 404 error.

Steps to reproduce the problem

Go to production version of DT. Click on admin settings Click on the user management tab if not immediately directed there. Verify that the following error is produced: image

Version of datatools-server and datatools-ui if applicable (exact commit hash or branch name)

image

philip-cline avatar Nov 23 '21 14:11 philip-cline

I was wondering if you managed to solve this. We have the same issue and server log shows: INFO spark.http.matching.MatcherFilter:162 - The requested route [/api/manager/secure/organization] has not been mapped in Spark for Accept: [application/json]

@philip-cline are you perhaps handling this or found a solution ?

wkulesza avatar Feb 27 '22 19:02 wkulesza

We've seen this before but not consistently. It's likely an Auth0 configuration issue, but as it is resolved on our end it's difficult to suggest what might be the issue for you. If you find anything further please let us know.

philip-cline avatar Mar 01 '22 21:03 philip-cline