TOKEN_SECRET_NOT_VALID

The token or secret is not valid.

Why I'm seeing this.​

The token or secret configured in myjsblock.credentials.js are not valid credentials. When pushing a new version, the token or secret configured in myjsblock.credentials.js under token or secret will be validated. You getting this if the token or secret are not passing the validation on the server.

How to fix it.​

Make sure the token and secret are correctly stored in the myjsblock.credentials.js.

If so and you still getting this error. You can better create a new token and secret. This will also affect on all your other custom block projects using the secret.

For more information how to create a new token and secret see: create-new-token-and-secret.

Your myjsblock.credentials.js for such a project should be:

{
  "token": "TJ9plldgQSL87dnK6ZIVpzTszlG3TPKo",
  "secret": "ifb1kEBUYBJ17NSQWdBUNoTTU5O2d1jlTJ9plldgQSL87dnK6ZIVpzTszlG3TPKo"
}

Last updated