The following code is throwing returning response from google with the required parameter is missing: response_type. Either the error is misleading with something else or the va