Content: Hi all,
I’m facing an issue while trying to delete a user in ODC.
When I pass a static UserId (e.g., "12356-7809-908"), the deletion works fine.
But when I try to pass a dynamic UserId (retrieved as Text), the request fails.
I tried the following:
Passing the UserId wrapped in quotes "UserId".
Passing the UserId without quotes (UserId).
In both cases, I get the error:
OS-BERT-00000 - 404 Not Found
(I know this error usually means the user doesn’t exist, but I confirmed the user is present in ODC.)
Can anyone suggest the correct way to pass the dynamic UserId when making the delete request?
Thanks in advance!
What is the value of UserId when you debug? It would also help to see the actual request being sent to the server.
Compare the static versus dynamic requests—sometimes extra quotes, can cause the error even if the user exists.