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

feat(integration-link-create): better catch 401 from SCM API #651

Merged
merged 1 commit into from
May 6, 2021

Conversation

EtienneM
Copy link
Member

@EtienneM EtienneM commented May 4, 2021

$ scalingo -a dadazdazdazdaz integration-link-create https://gitlab.com/Moi/repo --auto-deploy --branch master
 !     Fail to create SCM repository integration: the SCM API returned a 401 error.
 !     Did you revoked the Scalingo token from your profile? In such situation, you may want to remove and re-create the SCM integration.
 !     
 !     The complete error message from the SCM API is: Request forbidden (403): {error: invalid_token}, {error_description: Token was revoked. You have to re-authorize from the user.}
  • Add a changelog entry in the section "To Be Released" of CHANGELOG.md

@EtienneM EtienneM force-pushed the fix/scm/358/gitlab_401_forward branch from 0f89689 to e2ff23c Compare May 4, 2021 14:35
@EtienneM EtienneM marked this pull request as ready for review May 4, 2021 14:38
@EtienneM EtienneM requested review from brandon-welsch and Soulou and removed request for brandon-welsch May 4, 2021 14:38
@EtienneM EtienneM merged commit 77f0339 into master May 6, 2021
@EtienneM EtienneM deleted the fix/scm/358/gitlab_401_forward branch May 6, 2021 09:29
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

Successfully merging this pull request may close these issues.

2 participants