• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Issue with connecting FB Lead Form to Gmail

Jonathan So

Member
Hello, I am trying to set up a flow from Facebook lead form to Gmail. However, under the Response Received for the Gmail, it mentioned Error 401 with the following message:

Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.

Please advice
Screenshot (18).png
 

Arshita

Moderator
Staff member
Hey @Jonathan So

Please check that you have all the necessary permissions to send the email from your admin Gmail account and if the issue still persists, we recommend you to contact Gmail Workspace Team.
 

Supreme

Well-known member
Staff member
Hello, I am trying to set up a flow from Facebook lead form to Gmail. However, under the Response Received for the Gmail, it mentioned Error 401 with the following message:

Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.

This error message indicates that the authentication credentials used for the Gmail API request are not valid or missing. The Gmail API requires that you authenticate with valid OAuth 2.0 credentials to access user data.

Here are a few things you can check to resolve this error:

- Make sure you have created a project in the Google Developers Console and have enabled the Gmail API for that project.
- Ensure that you have created valid OAuth 2.0 credentials for your project, such as a client ID and secret.
- Check that the OAuth 2.0 access token you are using is still valid and has not expired. You may need to generate a new access token.
- Verify that you are using the correct authorization scope when requesting access to user data.
- Ensure that the access token is being included in the request header as "Authorization: Bearer {access_token}".
- If you are still having trouble, refer to the Gmail API documentation and the Google Developers Console documentation for more information on how to authenticate your requests.
 
Top