Forum Academy Marketplace Showcase Pricing Features

Ghost user data

So I was testing my web app by logging in a credential that currently exists in the database. The page requires that only admins can login, as shown in the workflow below:

For some reason, the admin credential wasn’t logging in, so I made use of bubble’s debug mode to see what was going on. I found out that “current user’s user type” isn’t Admin, so I clicked current user itself to see who the current user was, as shown below:

Strangely enough, that user with the unique ID isn’t even in my database:

How is this happening? It’s worth noting that I already refreshed the data, but that unique ID still isn’t showing up.

I think it is because of Cookies…Bubble will track a users for 3 days even if they are not registered on your app.

So if you have workflows to create something in the database and a non-registered user triggers those workflows the creator field will be blank (I don’t think they create a User entry but perhaps have a unique id created in order to track them).

If that same user signed up within 3 days of taking that action which created something in your DB then the creator field will be mapped correctly to the new User data type entry created when they signed up.

Learn More

Boston85719 is an expert Bubbler with a decade experience as an educator. Real name Matthew, he has been actively building SaaS apps, marketplace apps, scheduling apps and more for clients, himself and for sale as templates.

As an official Bubble Bootcamp Instructor, he leads Bubble Bootcamps on a regular basis.

Always willing to offer advice via the Bubble Forum, Matthew also offers Private Personal and Group Training Sessions.

Through his site, NoCodeTrainer, Matthew provides a range of tutorials with editor access to help you jumpstart your Bubble development.

Always accessible you can send Matthew a private message via the forum or send an email directly with your requests.

Be sure to checkout the Stripe Integration Course when you are ready to integrate Stripe payments to start monetizing your application via product sales or subscriptions.

Stripe Integration Course

NoCodeTrainer.com

Thank you, but what exactly should I do for now? Just wait for the 3 days to finish?

No idea what you are trying to do, but maybe you are trying to use the app as an admin. If the user doesn’t exist they are obviously not the admin user. If you need an admin user you should signup and make that user the admin.

1 Like