graphql-hive / graphql-hive/console
Error while configuring Slack integration
- Dominant language
- TypeScript
- Stars
- 483
- Forks
- 145
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 65
Description
Context:
- we're trying to connect hive to our slack
- with identical hive config and the same slackbot it did work on our staging environment
- trying to integrate with slack on our pro environment leads to the following error in the log:
```
GraphQLError: Variable "$input" got invalid value { organization: "my-organization" }; Field value.token of required type String! was not provided.
at getVariables (eval at compileVariableParsing (file:///usr/src/app/@hive/server/index.js:249937:23), :44:23)
at addSlackIntegration (file:///usr/src/app/@hive/server/index.js:250335:35)
at ValueOrPromise.then.result.stringify (file:///usr/src/app/@hive/server/index.js:349701:37)
at new ValueOrPromise (file:///usr/src/app/@hive/server/index.js:270170:15)
at jitExecutor (file:///usr/src/app/@hive/server/index.js:349701:12)
at file:///usr/src/app/@hive/server/index.js:349406:75
at file:///usr/src/app/@hive/server/index.js:269844:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async YogaServer.getResultForParams (file:///usr/src/app/@hive/server/index.js:275279:18)
at async handle (file:///usr/src/app/@hive/server/index.js:275355:20)
at async file:///usr/src/app/@hive/server/index.js:358390:24
at async Object. (file:///usr/src/app/@hive/server/index.js:358387:5) {
locations: [ { line: 1, column: 30 } ]
}
```
it looks like the https://slack.com/api/oauth.v2.access call does not get a token as a response?
i already double checked the INTEGRATION_SLACK_CLIENT_SECRET and its correct.
Any clue with it can be/experience with it?
Hive version: 10-sept-2024
Contributor guide
Assessment
This issue has not been assessed yet.