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

A parameter cannot be found that matches parameter name 'FollowRelLink' #63

Open
adilshehzad786 opened this issue Sep 7, 2021 · 5 comments

Comments

@adilshehzad786
Copy link

Before submitting your issue for the PSGitHub project, please take a moment to provide the following details:

Describe the bug
The token is Successfully working, but whenever trying to execute the PSGitHub commands, getting the FollowRelLink error .

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See an error

Expected behavior
I am execute the following command , through the following command, the issues which are currently opened by the author , will be displayed in the PowerShell.

Find-GitHubIssue "author:adilshehzad786" | Select-Object -First 1

Screenshots
If applicable, add screenshots to help explain your problem.
image

Environment
[X] Version of PowerShell you're using is 5.1.19041.1151
[X] PowerShell host you're using (eg. Console Host, ISE, Visual Studio) : ISE
[X] Operating system you're running: Windows 10
[ ] Version of PSGitHub you're using (use Get-Module -Name PSGitHub) : 0.15.212

Thanks for contributing your feedback and support! You can optionally submit a Pull Request against this project, if you have a fix you'd like to share.

@pcgeek86
Copy link
Owner

pcgeek86 commented Jan 6, 2022

Looking into this. Sorry for the delay.

@adilshehzad786
Copy link
Author

Thanks

@pcgeek86
Copy link
Owner

pcgeek86 commented Jan 6, 2022

@adilshehzad786 This is the output I'm getting

PS > Find-GitHubIssue "author:adilshehzad786" | Select-Object -First 1
WARNING: The command 'Get-GitHubToken' is obsolete. Tokens should be provided through the -Token parameter or $PSDefaultParameterValues

Number State  User           CreatedAt             Title
------ -----  ----           ---------             -----
     1 closed adilshehzad786 12/23/2021 9:42:16 AM Broken feature

image

Can you try version 0.15.224?

@adilshehzad786
Copy link
Author

Sure

@pauby
Copy link

pauby commented Sep 21, 2022

I'm getting this error in Windows PowerShell 5.1 for a different function:

> get-githubrelease -Owner gohugoio -RepositoryName hugo
WARNING: The command 'Get-GitHubToken' is obsolete. Tokens should be provided through the -Token parameter or $PSDefaultParameterValues
Invoke-RestMethod : A parameter cannot be found that matches parameter name 'FollowRelLink'.
At C:\Users\Paul\Documents\WindowsPowerShell\Modules\psgithub\0.15.240\Functions\Private\Invoke-GitHubApi.ps1:105 char:27
+         Invoke-RestMethod @apiRequest -ResponseHeadersVariable respon ...
+                           ~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-RestMethod], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

No such issue with PowerShell Core so it's a Windows PowerShell issue.

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

3 participants