Need confirmation if this is a bug. Pretty sure it is. If you make get value from API Ipiphy and then the next thing you do is to Make Changes to Thing (users).
Then the changes are not made. You need to check the database as value are appear (somehow) as if they are available. But the are NOT in the database.
To replicate:
In the PAGE LOADED WORKFLOW
Set state of something to the IP address
Save the IP address to the User table in a field called something like My IP.
Load page
Check user table directly in the editor
Strange behavior is as follows:
If you query User My IP in that page you get the correct value. But it was never saved to the database nor can be viewed in any other page. I checked permissions. Added all kinds of other test and variables and confirmed this behavior.
Thank you @neerja for sticking with me on this ābugā and suggesting workarounds and wanted to share the findings.
I have the following conclusions:
If you use the Ipiphy API via a workflow it returns IP value of the Bubble server. Not what I was looking for.
If you use the Ipiphy API in a workflow subsequent database actions in the workflow will not work. (This is the bug).
Workaround:
Call the Ipiphy API from the conditional of an object. But this will likely require user action to do anything with it. Keep the value in a state, then you can work with it.
Thanks again @neerja. Fixing this bug is no longer relevant to me but might help others.
I have the same problem. Why on earth is the bubble server IP returned on a workflow??? Why on earth isnāt it on the documentation as a MAJOR bug ??? This is the most basic (only) feature of this plugin and it is just not working, and 1 year or so later the bug is still not fixed. Despite some promising features, every day trying to use Bubble is an additional painā¦
Thanks a lot @mente12 for having spotted the issue and provided a workaround
When the user signs up, I save the userās IP address to a text field.
It worked in development during a workflow (it allowed the user to sign up and the userās ip address was recorded in the development database), but as soon as I tried it on a live version, it said āUnable to connect to Ipify: Error connecting to Ipify (0)ā and the user canāt sign up.