Hi,
I have taken the following steps while using this DFA API but running into technical issue,
Step 1: Created a Project on Google console developer as web application Client, where we get the Client Id and Client Secret.
Step 2: I have downloaded the Google API PHP Client Library and DFA reporting samples code.
Step 3: I download the client secret json file from Step 1 and copy in DFA reporting sample code.
Step 4: I am getting following the error while running index.php file from the DFA reporting sample code folder.
{ "error": { "errors": [ { "domain": "global", "reason": "authError", "message": "Invalid Credentials", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Invalid Credentials" } }
Can you please help us to resolve this issue?
Thanks!