You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
Possible solution/enhancements:
Make POST default (in this case only forced Get-queries could run into this issue)
Use POST request instead of GET; this detection is made before the do .. while loop. "Nextpage" string can only be validated inside this loop. Therefor the logic must be called from inside the loop.
The text was updated successfully, but these errors were encountered:
@KelvinTegelaar Follow up for #65
I can post a commit switch the default call from GET to POST. I guess, this will do the job for all existing use cases. This issue would only persist, when Get-AutotaskAPIResource -Method GET is used.
Describe the bug
When a "nextpage" URI exceeds the APIs string limitation for GET request, the API responds with a 404 error and throws an error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Current Workaround
Adding 100 characters to the initial string length. Not the optimal option, but at least a start.
See:
AutotaskAPI/Public/Get-AutotaskAPIResource.ps1
Line 87 in 7540459
Additional context
Possible solution/enhancements:
The text was updated successfully, but these errors were encountered: