I tried to upgrade them to 2023.1.4 and got the fo...
# suitecommerce
t
I tried to upgrade them to 2023.1.4 and got the following error" 'Missing parameters --key or --secret. Check your .env file or add those parameters to the gulp task' so I followed the instructions to setup an integration record and put the key and secret in the env file and now I'm receiving an unexpected error
e
Yeah, the secret/key are mandatory now. Make sure you are trying deploy/fetch to the right environment. For example if you created the integration record on SB and you try to deploy with the same to Prod, you will get that error or if there is any typo in the numbers/letters. I would try to fetch any extension before deploying.
w
@texmc Did you get this fixed? I'm having the same issue right now.
t
yes I got it fixed
needed to setup an integration record and add the consumer tokens in the .env file
w
I did the same as you and created the integration, but now get unexpected error
t
there's a help article but had to dig a lot
w
I found that and followed the instructions
t
did you update your extension management tools
w
I'm using the newest theme development tools
this is a theme, not an extension
Copy code
PS C:\Users\wwinters\git\Threads-3.4.1> gulp theme:fetch
Using gulp distro.
[11:55:36] Using gulpfile ~\git\Threads-3.4.1\gulpfile.js
[11:55:36] Starting 'theme:fetch'...
? Choose a saved token SCDeployer-SB - Account 3480499-SB1                            
[11:55:38] Using token SCDeployer-SB - Account 3480499-SB1, run with --to to change it
[11:55:39] 'theme:fetch' errored after 3.15 s
[11:55:39] Error in task gulp theme:fetch    
Error Message
  Unexpected Error
PS C:\Users\wwinters\git\Threads-3.4.1>
Got it
Had to use New Token
👍 1
I was under the impression that adding the key/secret to the env file was enough to use the saved token feature