Reference

INVALID_IMAGE_OPTIMIZE_REQUEST

The query string is using an invalid value for q, w, or url parameters. This is a request error.
Table of Contents

The INVALID_IMAGE_OPTIMIZE_REQUEST error occurs when the query string is using an invalid value for q (quality) or w (width), or url returns a non-image response.

400

INVALID_IMAGE_OPTIMIZE_REQUEST

Bad Request

To troubleshoot this error, follow these steps:

  1. Validate query parameters: Ensure that the query string parameters q and w are using valid values
  2. Check for typos: Verify that there are no typos in the parameter names or values
  3. Review request format: Ensure that the request URL is correctly formatted and includes the required parameters
Last updated on September 7, 2024