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

Error when trying to fetch deployment #67

Closed
devotox opened this issue Jan 11, 2021 · 2 comments
Closed

Error when trying to fetch deployment #67

devotox opened this issue Jan 11, 2021 · 2 comments
Assignees
Labels
Type: Question Further information is requested

Comments

@devotox
Copy link

devotox commented Jan 11, 2021

This occurs because the deployment is on a team account but you try to retrieve it using the user account

The app actually deploys as you can see below because the org and project ID are accurate

[now-client-debug] 2021-01-11T09:24:33.794Z Deployment is ready
[now-client-debug] 2021-01-11T09:24:33.794Z Yielding a 'alias-assigned' event
> [debug] [2021-01-11T09:24:33.795Z] Spinner ended (Completing)
> [debug] [2021-01-11T09:24:33.797Z] GET https://api.vercel.com/v10/now/deployments/dpl_5ZqgQ96j7oDdfnDCX8KDV6891Lcj?teamId=*** 

> [debug] [2021-01-11T09:24:33.797Z] GET https://api.vercel.com/v10/now/deployments/dpl_5ZqgQ96j7oDdfnDCX8KDV6891Lcj?teamId=*** 
> [debug] [2021-01-11T09:24:34.090Z] GET https://api.vercel.com/v10/now/deployments/dpl_5ZqgQ96j7oDdfnDCX8KDV6891Lcj?teamId=*** : 293.168ms

> [debug] [2021-01-11T09:24:34.090Z] GET https://api.vercel.com/v10/now/deployments/dpl_5ZqgQ96j7oDdfnDCX8KDV6891Lcj?teamId=*** : 293.168ms
> [debug] [2021-01-11T09:24:34.121Z] Error copying to clipboard: Error: Both xsel and fallback failed
Production: https://ember-ui.vercel.app [4m]

> [debug] [2021-01-11T09:24:34.121Z] Error copying to clipboard: Error: Both xsel and fallback failed
Production: https://ember-ui.vercel.app [4m]
set preview-url output
/opt/hostedtoolcache/volta/1.0.0/x64/bin/npx vercel inspect https://ember-ui-1tweb478e.vercel.app -t ***
Vercel CLI 21.0.1

Vercel CLI 21.0.1
- Fetching deployment "https://ember-ui-1tweb478e.vercel.app" in devonte

- Fetching deployment "https://ember-ui-1tweb478e.vercel.app" in devonte

Error! Failed to find deployment "https://ember-ui-1tweb478e.vercel.app" in devonte

Error! Failed to find deployment "https://ember-ui-1tweb478e.vercel.app" in devonte
Error: The process '/opt/hostedtoolcache/volta/1.0.0/x64/bin/npx' failed with exit code 1
@amondnet
Copy link
Owner

amondnet commented Feb 2, 2021

@devotox
#23 (comment)

      - uses: vercel-action@v19 //v19.0.1+1
        id: vercel-action
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          vercel-token: ${{ secrets.VERCEL_TOKEN }}
          vercel-org-id: ${{ secrets.VERCEL_ORG_ID_TEAM_SCOPE }}
          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_TEAM_SCOPE }}
          working-directory: example/team-scope
          scope: ${{ secrets.VERCEL_SCOPE }}

Set the scope value and try again. If that doesn't work, let me know.

scope: ${{ secrets.VERCEL_SCOPE }}

@amondnet amondnet added the Type: Question Further information is requested label Feb 2, 2021
@amondnet amondnet self-assigned this Feb 2, 2021
@devotox
Copy link
Author

devotox commented Feb 2, 2021

Yup works

@devotox devotox closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants