You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using @dopplerhq/universal-import-core to build an integration with an internal admin tool to push secrets over to Doppler.
Locally, the connection works fine - trigger successfully renders the Doppler import screen.
In production, the connection renders "Unable to decrypt universal import payload". An example request ID for debugging purposes: 48aed283-6bd5-4956-ac3e-5de84d6a03b8
Thanks for reaching out @jdjkelly. For security reasons we are unable to see the payload you are attempting to trigger the import with, namely the secret name and secret value.
One common issue we have identified is that the secret name might not be matching Doppler's secret naming convention.
Would you mind sharing the shape of the secret name you are providing?
Doppler's secret naming convention is as follows:
Secret names must adhere to a specific format:
Secret names may only contain uppercase letters, numbers, and underscores
Secret names may not start with a number
We will be updating both universal-import-core and unviersal-import-react packages to contain this validation and log an error to the console.
Root cause is undetermined, but proximate cause was being on NextJS <= 13.0.4 (we were on 13.03 and upgrading to 13.0.5 has resolved). Strongly suspect somewhere in the transpiration of ESM to CommonJS in Next builds is the issue.
We're using @dopplerhq/universal-import-core to build an integration with an internal admin tool to push secrets over to Doppler.
Locally, the connection works fine -
trigger
successfully renders the Doppler import screen.In production, the connection renders "Unable to decrypt universal import payload". An example request ID for debugging purposes: 48aed283-6bd5-4956-ac3e-5de84d6a03b8
In both cases, we can see a fetch request being made to https://keys.doppler.com/universal-import/latest.json?cpv=1.0.0 which, in both cases, returns:
Any ideas?
The text was updated successfully, but these errors were encountered: