You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"errors":[{"message":"Unexpected code 403 from Google. Response body: {\n \"error\": {\n \"code\": 403,\n \"message\": \"Gmail API has not been used in project 861228239640 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=861228239640 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\",\n \"errors\": [\n {\n \"message\": \"Gmail API has not been used in project 861228239640 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=861228239640 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\",\n \"domain\": \"usageLimits\",\n \"reason\": \"accessNotConfigured\",\n \"extendedHelp\": \"https://console.developers.google.com\"\n }\n ],\n \"status\": \"PERMISSION_DENIED\"\n }\n}\n","path":["google","gmail","queryThreads"]}],"data":null}
CASE
disabled Gmail API
ISSUE
onegraph response not handled on UI
{"errors":[{"message":"Unexpected code 403 from Google. Response body: {\n \"error\": {\n \"code\": 403,\n \"message\": \"Gmail API has not been used in project 861228239640 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=861228239640 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\",\n \"errors\": [\n {\n \"message\": \"Gmail API has not been used in project 861228239640 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=861228239640 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\",\n \"domain\": \"usageLimits\",\n \"reason\": \"accessNotConfigured\",\n \"extendedHelp\": \"https://console.developers.google.com\"\n }\n ],\n \"status\": \"PERMISSION_DENIED\"\n }\n}\n","path":["google","gmail","queryThreads"]}],"data":null}
SOLUTION
1 . add details to README
API link https://console.developers.google.com/apis/library/gmail.googleapis.com
src/pages/index.js
{data && data.google && ( <MessageList css={{ paddingBottom: 24 }} threads={data.google.gmail.queryThreads.threads} /> )}
The text was updated successfully, but these errors were encountered: