redirectTo REST calls no longer works


After the update one of our records, we do response.send({ redirectTo: redirectUrl }). With after response received by client, the client open the redirectUrl, this feature works well when we dev it. But recently the client don’t redirect:

Response return:
{redirectTo: ""}

HTTP/1.1 200 OK
X-Powered-By: Express
Vary: Origin
Access-Control-Allow-Credentials: true
Content-Type: application/json; charset=utf-8
Content-Length: 118
ETag: W/“76-********/BEI”
Date: Mon, 03 Oct 2022 10:48:28 GMT
Keep-Alive: timeout=5
Sozu-Id: ********

PUT /forest/lead/5e5ec10a-d661-492a-a704-56d7d0cd444a?timezone=Europe%2FParis HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,fr-FR;q=0.8,fr;q=0.7
Authorization: Bearer *********
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 564
Content-Type: application/json
Pragma: no-cache
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
Sec-GPC: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Do you have an error in the console or any error to share it please ? :pray:
What do you use to update your record ? The redirectTo is used to redirect the user after a smart action succeed it does’t work with the simple update way.
Thanks :slight_smile:

If the redirectTo never works with update it’s not bug… we create SEPA mandat with data changed, this one have to be validated using page

Yes it does not work with the update form. If you want to use this mechanism, you should use the smart action :).
Can I close the ticket ?

1 Like