# Error tying to create a password change ticket: What should the result url look like?

**URL:** <https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875>\
**Category:** Get Help\
**Tags:** tickets, management-api\
**Created:** [April 23, 2025, 10:10pm UTC](https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875 "2025-04-23T22:10:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgraboski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tgraboski/32/13337_2.png) [@tgraboski](https://community.auth0.com/u/tgraboski)\
**Post date:** [April 23, 2025, 10:10pm UTC](https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875/1 "2025-04-23T22:10:53Z")

</div>

We need to send a “reset your password” email using our own email provider and our own template. So I need to request from Auth0 a URL that I can send in an email for the user to click. I’m using [https://auth0.com/docs/api/management/v2/tickets/post-password-change](https://auth0.com/docs/api/management/v2/tickets/post-password-change). When I try, I keep getting this error:

POST `https://<my-tenant>.auth0.com/api/v2/tickets/password-change`  
JSON:

```auto
{
  "result_url": "https://my-homepage.com/",
  "user_id": "google-oauth2|13456780",
  "client_id": "<my-client-id>",
  "connection_id": "con_1234567890",
  "email": "email.address@gmail.com",
  "ttl_sec": 0,
  "mark_email_as_verified": true,
  "includeEmailInRedirect": true
}

```

400 - Payload validation error: ‘Invalid property result\_url’

But of course it doesn’t tell me why it’s an invalid result url. I’ve tried trailing slash, no trailing slash, https://, no https://, other dummy URLs, my own client application callback URL–nothing works.

Can someone please explain to me what the `result_url` is supposed to look like, maybe with an example, or otherwise explain why my sample URL isn’t working?

Additionally, the API documentation doesn’t explain what the response format is. How do I get the URL out of the response?

Thanks.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 23, 2025, 11:13pm UTC](https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875/3 "2025-04-23T23:13:42Z")

</div>

Hi @tgraboski,

Thanks for your question.

I recommend checking out our [Password Change Ticket Error: "Invalid property result\_url"](https://community.auth0.com/t/password-change-ticket-error-invalid-property-result-url/184989) knowledge article, which solves this error.

If anything else comes up, please feel free to reach out.

Best,  
Rueben

---

<div class="post-metadata">

**Author:** ![tgraboski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tgraboski/32/13337_2.png) [@tgraboski](https://community.auth0.com/u/tgraboski)\
**Post date:** [April 24, 2025, 1:21am UTC](https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875/4 "2025-04-24T01:21:53Z")

</div>

Hi, thanks. That resolves my issue. Some other notes in case someone else stumbles across this:

- you should skip the user ID and just use the email
- You can’t use this ticket method for google oauth accounts, which makes sense in retrospect
- The documentation doesn’t say what the response format is, but it looks like this:

```auto
{
    "ticket": "https://domain.com/lo/reset?ticket=zxcvbnljhgfdsawertyuio#"
}

```

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 24, 2025, 7:16pm UTC](https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875/5 "2025-04-24T19:16:37Z")

</div>

Hi @tgraboski,

I’m glad I could resolve your issue, and a big thank you for sharing your notes with the community!

Kind regards,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 8, 2025, 7:17pm UTC](https://community.auth0.com/t/error-tying-to-create-a-password-change-ticket-what-should-the-result-url-look-like/185875/6 "2025-05-08T19:17:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
