Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enterprise Grid Installation #108

Open
budbach opened this issue Feb 10, 2025 · 2 comments
Open

Enterprise Grid Installation #108

budbach opened this issue Feb 10, 2025 · 2 comments

Comments

@budbach
Copy link
Contributor

budbach commented Feb 10, 2025

@seratch, We recently upgraded to Enterprise Grid and I'm struggling to get ChatGPT-in-Slack working again.

Deploying with "serverless" on AWS.

The log from CloudWatch are:

Failed to find an installation data for enterprise: E08A..., team: T23KP...: An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.
Failed to find bot installation data for enterprise: E08A..., team: T23K...: An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.
Although the app should be installed into this workspace, the AuthorizeResult (returned value from authorize) for it was not found.

The app is approve for the workspace and the org. Any idea on what I am missing?

@budbach
Copy link
Contributor Author

budbach commented Feb 10, 2025

I added some debugging and It looks like it is trying to get:

https://{SLACK_INSTALLATION_S3_BUCKET_NAME}.s3.amazonaws.com/{SLACK_CLIENT_ID}/{enterprise-id}-none/installer-latest

The bucket exists but currently has no data in it. How does the installation bucket get populated?

@budbach
Copy link
Contributor Author

budbach commented Feb 11, 2025

Getting closer, realized to get the content in the bucket, I needed to visit the "install" url for the app with a web browser and authenticate.

https://{id}.execute-api.us-east-1.amazonaws.com/slack/install

So the data was copied into the bucket but in this folder:

/{SLACK_CLIENT_ID}/{enterprise-id}-{workspace-id}

But the app is looking for it in:

/{SLACK_CLIENT_ID}/{enterprise-id}-none

For now, I just copied /{SLACK_CLIENT_ID}/{enterprise-id}-{workspace-id} to /{SLACK_CLIENT_ID}/{enterprise-id}-none which has me progressing. Still haven't figured it all out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant