analytics/fixture/http_mocks/google_auth#invalid_grant.json
RobertJoonas 2f87832532
Implement search and pagination in Google Keywords modal (#4378)
* Extend the GSC API with search functionality

* Fix typo in error tuple atom

* log GSC errors

* rename confusing variable name

* Fix the API response format and error handling

* Read results under the `results` key to be consistent with other
  endpoints

* Return errors with a non-200 status code, and with an error payload
  that will be well constructed into ApiError

* rebuild Google Keywords modal with useAPIClient

* Add pagination support in Search Terms API

* delete unused fixture file

* rename fixture files

* fix tests
2024-07-23 11:53:52 +03:00

18 lines
458 B
JSON

[
{
"status": 400,
"url": "https://www.googleapis.com/oauth2/v4/token",
"method": "post",
"request_body": {
"client_id": "fake_client_id",
"client_secret": "fake_client_secret",
"grant_type": "refresh_token",
"redirect_uri": "http://localhost:8000/auth/google/callback",
"refresh_token": "*****"
},
"response_body": {
"error": "invalid_grant",
"error_description": "Bad Request"
}
}
]