I am working on a Google Drive API tutorial
I am currently on the part where you run the demo. When I visit the URL generated by the program, I get this error - "Error: invalid_client . The OAuth client was not found."
Here is my code(subbed in my client_id and client_secret)
public class DriveCommandLine {
private static String CLIENT_ID = "37895131772";
private static String CLIENT_SECRET = "laUVGRI53uXzT90Ag880HSkT";
private static String REDIRECT_URI = "urn:ietf:wg:oauth:2.0:oob";
....
I double checked the client_id and client_secret on the Developer's console to make sure those components were not the issue.(tutorial didn't say to replace redirect_uri)
Does anyone know what the issue is? I checked this thread as well and the solution there was to set email and product name to the same name as the Eclipse project. I did both(my email and DriveTutorial, name of Eclipse project) but still I got the same error.