How to fix my dynamic page link when I get a 404 after registering

Hi all, I created a custom register sign-up and I want the user to go to their dynamic profile settings page afterward. I keep getting a 404, so I’ve triple checked the permissions on the collections, which is on Custom Use that has the following settings.

  • Read: Site Member Admin
  • Create: Site Member
  • Update: Site Member Admin
  • Delete: Admin

My goal is to have them be able to update and read their dynamic profile information. For the permissions of the dynamic page, I have it on Members Only (I’ve tried just using everyone but it did not work). I have the dynamic page URL set to profile/update/{ID}. I’ve also tried to synch the sandbox to live and it did not help.

I’ll post my code to my registration lightbox here so that can be double-checked as well. I’ve been following this tutorial as a reference but I’m not using this code, only a very basic function to register and then be directed to the new wixLocation. Do I need to query my collection in order to make this work? Thanks in advance.

My site’s URL is https://www.uptalent.io/

import wixUsers from 'wix-users';
import wixLocation from 'wix-location';

$w.onReady(function(){  
    $w('#createAccount').onClick(function (){    
 
 let phone =  $w('#phoneNumber').value;
 let isRequired = $w('#agreeToTerms').required = true;
 

 if($w('#agreeToTerms').checked) { 
        wixUsers.register($w('#email').value, $w('#password').value, {
        contactInfo: {
 "firstName": $w('#firstName').value,
 "lastName": $w('#lastName').value,
 'phones' : [phone],
 'Company Name' : $w('#companyName').value
 
      }

    })

    .then(()=>{
 
 //send to member profile
      wixLocation.to(`/profile/update/${wixUsers.currentUser.id}`); 
   })
    console.log('User is registered'); 
 
    } 

      })

 
    });

Hi,
We’ve had quite a few reports about dynamic pages and 404 errors today. Is this issue new for you? If so, please provide the exact steps to reproduce so we can investigate. Thanks!

It’s not new, but it is new functionality that I’m trying to create.

Just to clarify, my registration works, but my dynamic page isn’t. When I check my dynamic database collection, I see the link with the member id was collected but I’m still getting a 404.