# Password Reset x Sendgrid Link Not Working

**URL:** <https://forum.bubble.io/t/password-reset-x-sendgrid-link-not-working/334321>\
**Category:** Questions\
**Created:** [August 6, 2024, 1:51pm UTC](https://forum.bubble.io/t/password-reset-x-sendgrid-link-not-working/334321 "2024-08-06T13:51:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jas1674](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jas1674](https://forum.bubble.io/u/jas1674)\
**Post date:** [August 6, 2024, 1:51pm UTC](https://forum.bubble.io/t/password-reset-x-sendgrid-link-not-working/334321/1 "2024-08-06T13:51:17Z")

</div>

when I try to reset my password, I run into the same error. I am clicking the link immediately. I have tried this twice with two different accounts I am creating a token and using sendgrid to send the email.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/4/b4f39b9906c89b06671344657be57490164e231a.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/5/b53ecd82c2716d0339200ab69e1e72aac01c064d.png)

![image](https://us1.discourse-cdn.com/bubble/original/3X/0/5/0529ad066cc18aaed12e9b98a7c0858f20d5ef25.png)

The email gets sent and is received, but the password reset link gives me an error saying the link is not valid. Please advise. Thanks

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [August 6, 2024, 2:03pm UTC](https://forum.bubble.io/t/password-reset-x-sendgrid-link-not-working/334321/2 "2024-08-06T14:03:41Z")

</div>

This will be helpful for you. For your reference, if you choose to generate the token only, Bubble will generate it and make it available in your backend workflows but it will not send it to the frontend, due to security reasons

> [@Password reset token is not being issued](https://forum.bubble.io/t/password-reset-token-is-not-being-issued/329006/9):
>
> For security reasons, the token generation is available via a backend workflow. If you choose to send the email directly, Bubble will generate and send the email from the backend. If you choose to generate the token only, Bubble will generate it on the backend but it will not send it to the frontend. I’ve created an example here - [Link to the editor](https://bubble.io/page?type=page&name=demo-2&id=credit-third-app) What I’ve done Added a reset password button Enabled the backend workflow API Added a backend workflow that takes an email as a parameter Added …

---

<div class="post-metadata">

**Author:** ![jas1674](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jas1674](https://forum.bubble.io/u/jas1674)\
**Post date:** [August 27, 2024, 8:07pm UTC](https://forum.bubble.io/t/password-reset-x-sendgrid-link-not-working/334321/3 "2024-08-27T20:07:53Z")

</div>

I appreciate the response. I have implemented your workflows and was able to successfully change the password, however, the new password did not save and my old one still works. I noticed that you save a return token in your API call:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/c/9cb1b8caeef5380e51145b9abbd21213a58341bc.png)

I don’t have this in my API call and I think that might be my issue. Do you know why I’m missing this? I integrated everything exactly how you have it, or so I thought.

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [August 29, 2024, 11:09am UTC](https://forum.bubble.io/t/password-reset-x-sendgrid-link-not-working/334321/4 "2024-08-29T11:09:21Z")

</div>

Check out the backend workflows in my example. You would need to use the Return data from API workflow action to return the token so that you can send that on the email
