MicrosoftDocs / Advertising-docs

Creative Commons Attribution 4.0 International
15 stars 59 forks source link

Not including Label ID returns error 514 #603

Closed jpuck closed 5 years ago

jpuck commented 5 years ago

According to the docs here on LabelIds in the request body:

If the list of label identifiers is null or empty then all label associations for the account will be returned page by page.

However, if an ID is not included, then this results in an error code 514 with the message:

Ids passed are null or empty.

So it would seem that the field is actually required, contrary to what the documentation currently states.

Would you please update the documentation to reflect the correct usage of the API, or open an issue to fix the API to return the documented response.

Thanks!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

eric-urban commented 5 years ago

@jpuck good catch, thanks! LabelIds must contain exactly one label ID. We'll update the docs.