Error invalid client id when granting callback access even though it's correct

I followed the code like in this example

Always get this response even though I regenerate the ST_CLIENT_ID and ST_CLIENT_SECRET

RESPONSE {"headers":{"schema":"st-schema","version":"1.0","interactionType":"grantCallbackAccess","requestId":"5364572897315265056"},"globalError":{"detail":"Client ID f325d2b8-dfae-431e-8dc3-7b9503be890b is invalid","errorEnum":"INVALID-CLIENT"}}
ERROR: %j STBase {
  headers: {
    schema: "st-schema",
    version: "1.0",
    interactionType: "grantCallbackAccess",
    requestId: "5364572897315265056",
  },
  globalError: {
    detail: "Client ID f325d2b8-dfae-431e-8dc3-7b9503be890b is invalid",
    errorEnum: "INVALID-CLIENT",
  },
  setError: [Function: setError],
  isError: [Function: isError],
}

is there something i missed here?

Hi, @wutsqo
So, you’re using the Schema definition correctly, right?
Something like this:

const connector = new SchemaConnector()
    .enableEventLogging(2)
    .clientId(ST_CLIENT_ID)
    .clientSecret(ST_CLIENT_SECRET)
    .discoveryHandler()...

Are you deleting the integration from “Linked services” and adding it again?