PowerShell / PowerShellGallery

236 stars 65 forks source link

API - Get with `$select=Owners` returns "an error has occurred" #267

Open o-l-a-v opened 8 months ago

o-l-a-v commented 8 months ago

Prerequisites

Steps to reproduce

To reduce load on PSGallery and increase speed I'd like to use $select to only request the properties I need.

This works for properties like Id, Version and Authors. But not for Owners for some reason.

URL with all properties:

URL with Id and Version (works):

URL with Id, Version and Owners (does not work):

Expected behavior

All properties should be possible to $select

Actual behavior

$select=Owners does not work

Error details

No response

Environment data

Not relevant: API.

Version

Not relevant: API.

Visuals

No response

o-l-a-v commented 4 months ago

Suddenly today the API does not allow to $select any property. This fails with error "This request is blocked by a Web Application Firewall rule.":

Removing $select succeeds:


Edit: Works again now.