Rest/Api: Removes a user from all organizations seems not working

Stefan Hall shared this problem 39 days ago
Defect Logged

Hi,

I send a request against the rest/api according to the documentatio:
https://developers.yellowfinbi.com/dev/api-docs/current/#operation/deleteUserAdmin

but always get a 400 "Bad Request" return code. The URL is correct in any case, because the GET works.

In the header I use exactly the same Accept and Authorization content, otherwise I would have a different error message. the body is empty. The user has the status “active”.

Do you have any ideas? Where is the hidden trick?


Requests with httpReturnCode:

  • "GET /yellowfin/api/admin/users/13272 HTTP/1.1", httpStatus: 200 OK
  • 1 try: "DELETE /yellowfin/api/admin/users/13272?reassignContentTo=5 HTTP/1.1", httpStatus: 400 Bad Request
  • 2 try: "DELETE /yellowfin/api/admin/users/13272 HTTP/1.1", httpStatus: 400 Bad Request

;) Stefan

Version 9.0.12 / 13

Replies (2)

photo
1

Hi Stefan,

I hope you're doing well.

Just a quick check, are you getting this error with this DELETE request only? Do other deletes, like reports, work?

I'll just double check this myself, in the meantime.

Kind regards,

Chris

photo
1

Hi Stefan,

I'm also seeing this not working in 9.13 with a null pointer error shown in the log. Can you confirm that you are also seeing a null pointer, please?

It does seem that this bug has been caught already and a fix is due for 9.14, however if this is a problem, we can look at an interim build.

Kind regards,

Chris

photo
1

Hi Chris,

Yes, I also see a null pointer exception. I must have overlooked that earlier.

Do you know approximately when version 9.14 will be released? If still in November, I don't need an interim solution.

;) Stefan

photo
1

Hi Stefan,

Yes I believe it is still in November or December, as part of our aim for quarterly releases.

Kind regards,

Chris

photo
1

Hi Stefan,

I hope you had a good weekend!

I'll move this over to Defect Logged while we wait for a fix to be released.

Kind regards,

Chris

photo
Leave a Comment
 
Attach a file