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

Get-ConfluenceAttachment #165

Open
Carshalton opened this issue Mar 27, 2019 · 0 comments
Open

Get-ConfluenceAttachment #165

Carshalton opened this issue Mar 27, 2019 · 0 comments

Comments

@Carshalton
Copy link

Carshalton commented Mar 27, 2019

Hi,
when I run the Get-ConfluenceAttachment below to get the attachment for the page,
Get-ConfluenceAttachment -PageID 123456

the following exception is thrown. can you please help?

ConvertTo-Attachment : Exception calling "ToInt32" with "2" argument(s): "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex"
At C:\Program Files\WindowsPowerShell\Modules\ConfluencePS\2.4.1\ConfluencePS.psm1:1053 char:43
+                                 $result | & $converter
+                                           ~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ConvertTo-Attachment], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentOutOfRangeException,ConvertTo-Attachment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants