legacy-api-documentation icon indicating copy to clipboard operation
legacy-api-documentation copied to clipboard

Bug with image_size array when authenticated

Open moc426 opened this issue 9 years ago • 1 comments

This is when using GET Photos endpoint

If using authenticated request with image_size[]=4&image_size[]=2048 it gives an unauthorized request, but if I change the image size to image_size[]=1024&image_size[]=2048 it works.

This can be tested on apigee console as well. If I add consumer_key=xxxxxxxxx to the url in the console, it suddenly works for size 4 and 2048, where as with 1024 and 2048 it doesn't require the consumer_key parameter in the url.

moc426 avatar Jan 12 '16 14:01 moc426

Requesting as comma list works fine. I switched to using that. Example image_size=4,2048

moc426 avatar Jan 12 '16 17:01 moc426