Error getting user info by email address


We are trying to get user data by email address using the following code but get the error:
{"statusCode": 404, "error": "Not Found", "message": "Not Found"}

However, the same code worked when using the endpoint to get users by their ID.

I don’t see anything wrong with the URL. Does it work for you in the API Explorer?!/Users_By_Email/get_users_by_email
or in Postman?

If I see it correctly, you’re sending a PATCH request and not a GET request though. You should send a GET request and no need for a payload, just the bearer token is needed in the header. I think that’s the problem here.