Not able to Sync Environmental Variables(Shared)

Hi,
In our shared environment. If one of our menmber adds or updates the variable, im not getting that variable added or updated in my side even if i refresh(synch). I tried by updating the APP. still not getting it.

Need some help to resolve it.

Can you provide more detail screenshots in both side to better comparison? Can you confirm the Project Id is identical in Project’s settings in both side. Or maybe your colleague change the variable only with processor scripts and did not manual saved it in environment panel which will only take effect on his PC locally

Hello!
Here is the colleague, so I removed two variables and added a new one manually on the environment panel, highlighted in the below (screenshot 1). Saved it multiple times on the environemnt panel. But even when Vignesh syncs he does not see the new variables on his side and still sees the removed ones in the same environment (screenshot 2) .
We are definietly in the same team and same project, as he can access the same apis and test scenarios we have. Also this was working fine before, but seems to be broken now for him.
I even tried to duplicate the updated environment with the new values, but when he opens the Copy he sees no variables in it at all…(screenshot 3)






update:
I checked with another colleague in the same team/project, and he doesn’t see the new variables either, even after syncing

the environment is shared
we also doublechecked the project id and it’s the same for everyone


and this was working fine before, but suddenly stopped working for some reason. We have not changed any settings, etc…

we are on Apidog 2.5.5

From your description, I believe the issue is being caused as some of your environment variable values are excessively long, often exceeding 60,000 characters. In cases where the values are lengthy, such as certificate keys, it is recommended to use local values instead.

Upon saving the value, error messages should be displayed as toast notifications.


Karan
But in the other thread you have suggested to save it into an environment variable, because we could not save it into a local variable (got the parameter limit exceeds error), see:

Also, I did not get any error message when saving it into an environment variable. And now that seem to have broken the environments.
I tried again, using local variable, but then you get the error message upon saving…(see screenshot)

So how can we resolve this? In postman we saved it into a local/collection variable and it was working fine.
Out of curiosity, what is the purpose of this limit? Why do you even enforce it? Can we make it configurable?


Also, on the environemnt variable syncing issue. I removed the variable with the long value, but variabels syncing is still working inconsistently.

We can reproduce the following consistently:

  1. User A creates a new environment variable X on the env. management page and saves it.
  2. User B hits Refresh
  3. User B opens environment management page, and can see the new variable X created in step 1)
  4. User B removes the variable X created by User A in step 1) and saves the environment
  5. User A hits Refresh
  6. User A opens the environment management page.

Now at step 6 we would expect for both user A and B that the variable X is not present under the environemnt variables. However what we see is the following:
User A still sees variable X under the environment variables, but without a value
User B does not see variable X under the environment variables

Is this a bug or do we misunderstand how shared environments should work?

Synchronizing it between multiple users can consume server resources. To avoid this, you can store the data in the “Current Value” field, which is never synchronized with the server.

I will escalate the issue to our engineering team for further investigation.

Thank you for providing a detailed reproduction process. It will be very helpful for us to identify and resolve the problem.

Thanks!

ok, let me try that. Thanks!

Here is a screenshot of “Current Value”. You can find it in the Environment Management Panel.