/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(
        `${config.auth0Api.apiUrl}/api/v2/tickets/password-change`,
        {
            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?