- Issue created by @kushagra.goyal
- 🇮🇳India dineshkumarbollu
Hi @kushagra.goyal
I am unable to reproduce the can you provide detail steps for reproduce.
but the issue is due TypedConfigManagerInterface in latest versions of drupaladd
use Drupal\Core\Config\TypedConfigManagerInterface;
and inject service in contructor may fix the issue.see the similar issue for reference 🐛 Error when accessing "Transitions" tab in Workflow module Active
I got the error i have attached the screenshot and when i try to resolve the error by installing client library composer require google/apiclient:"^2.0" # Or latest compatible version then i got the error
The OAuth client was not found.
If you are a developer of this app, see error details.
Error 401: invalid_clientHi @dineshkumarbollu, I'm not sure why it's not replicating on your system. For me, I can see this error whether I install it via Composer or manually. However, after injecting this service, it's working.
@niharika.s, did you install it using Composer?
@niharika.s That's why the issue exists for you. The module requires Google dependencies, which are initially installed via Composer. This ensures everything works correctly. Installing
apiclient
later may still leave other dependencies missing. Try installing the module with Composer, and it should work as expected.- 🇨🇳China alan_blake
Add information about #3 🐛 Error when accessing config Gmail API module Active statement:
the issue is due TypedConfigManagerInterface in latest versions of drupal
Refer to "New parameter added to \Drupal\Core\Form\ConfigFormBase::__construct" → , this arguments is optional in drupal core v10.2 but will be required in v11.0.
I tested the module with drupal core v10.4.2, both with and without #9 🐛 Error when accessing config Gmail API module Active 's fix, this module works properly.