/tickets/password-change sometimes returns 404 on existing user

Here is the code I’m using to call this endpoint:

const response = await axios.post(
            result_url: `${config.websiteUrl}/signin`,
            user_id: userId,
            ttl_sec: 2592000, // one month
            headers: {
                authorization: `Bearer ${token}`,
                contentType: "application/json",
            validateStatus: null,

Even though the user properly exists, I’m getting “user not found” error. I’m 100% positive the user exists as I tried fetching it right before making this call and it was there.

Are there any other conditions that must be met on the user for it to be retrieved properly by this endpoint?