Error al sincronizar Google Drive con Grive[Solucionado]

Foro de soporte para usuarias de habla hispana

Moderator: Wibol

Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
enperera

Error al sincronizar Google Drive con Grive[Solucionado]

Post by enperera »

Hola, les comento que realicé los pasos de instalación y cuando me dirigí a mi directorio Drive que tiene sus derechos en 777 y teclee grive -a, nunca hizo la sincronización, me marca lo siguiente:
-----------------------
Please input the authentication code here:
4/95a0i8srnx-qXoaL6YrMSZR-rndTKfhjtSMCE4Wxjd0
Failed to obtain auth token: HTTP 400, body: {
"error" : "invalid_grant",
"error_description" : "Code was already redeemed."
}
exception: /build/grive2-eoRXVg/grive2-0.5.1/libgrive/src/protocol/OAuth2.cc(80): Throw in function void gr::OAuth2::Auth(const string&)
Dynamic exception type: boost::exception_detail::clone_impl<gr::OAuth2::AuthFailed>
[gr::expt::BacktraceTag*] = #0 0x55156e grive gr::Exception::Exception()
#1 0x53f98b grive gr::OAuth2::AuthFailed::AuthFailed()
#2 0x53eae4 grive gr::OAuth2::Auth(std::string const&)
#3 0x4e6ef4 grive Main(int, char**)
#4 0x4e7b35 grive main
#5 0x7f12979fcf45 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#6 0x4e5df9 grive

Si me pudieran ayudar...gracias!!

El error está que cuando generas un código no se puede reutilizar, es decir, yo generé correcto mi código y por cuestión de derechos no pude acceder a la carpeta que declaré como mi Drive y se invalidó el código que me habían proporcionado. Cambié los derechos de escritura a mi carpeta Drive, generé otro código y entonces sí me lo aceptó y pude sincronizar!!!

Muchas gracias chicos!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JCSenar
Level 11
Level 11
Posts: 3646
Joined: Sat Sep 06, 2014 6:26 pm
Location: Irun, España
Contact:

Re: Error al sincronizar Google Drive con Grive

Post by JCSenar »

enperera wrote:Hola, les comento que realicé los pasos de instalación y cuando me dirigí a mi directorio Drive que tiene sus derechos en 777 y teclee grive -a, nunca hizo la sincronización, me marca lo siguiente:
-----------------------
Please input the authentication code here:
4/95a0i8srnx-qXoaL6YrMSZR-rndTKfhjtSMCE4Wxjd0
Failed to obtain auth token: HTTP 400, body: {
"error" : "invalid_grant",
"error_description" : "Code was already redeemed."
}
exception: /build/grive2-eoRXVg/grive2-0.5.1/libgrive/src/protocol/OAuth2.cc(80): Throw in function void gr::OAuth2::Auth(const string&)
Dynamic exception type: boost::exception_detail::clone_impl<gr::OAuth2::AuthFailed>
[gr::expt::BacktraceTag*] = #0 0x55156e grive gr::Exception::Exception()
#1 0x53f98b grive gr::OAuth2::AuthFailed::AuthFailed()
#2 0x53eae4 grive gr::OAuth2::Auth(std::string const&)
#3 0x4e6ef4 grive Main(int, char**)
#4 0x4e7b35 grive main
#5 0x7f12979fcf45 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#6 0x4e5df9 grive

Si me pudieran ayudar...gracias!!
¿Has copiado bien el código? Acabo de comprobarlo y me funciona exactamente como se describe en el tutorial. (Y yo no he hecho nada con los derechos de la carpeta Drive).
Si tu consulta ha sido resuelta, por favor, edita tu primer mensaje y añade [SOLUCIONADO] al título. Gracias.
enperera

Re: Error al sincronizar Google Drive con Grive

Post by enperera »

Sí claro, no es dificil pues seleccioné todo el mensaje, luego copié y pegué...pero me manda ese error...gracias!
User avatar
JCSenar
Level 11
Level 11
Posts: 3646
Joined: Sat Sep 06, 2014 6:26 pm
Location: Irun, España
Contact:

Re: Error al sincronizar Google Drive con Grive

Post by JCSenar »

enperera wrote:Sí claro, no es dificil pues seleccioné todo el mensaje, luego copié y pegué...pero me manda ese error...gracias!
Pues lo siento. No se cual es el problema. :(

Espera a alguien que sepa más sobre el tema....
Si tu consulta ha sido resuelta, por favor, edita tu primer mensaje y añade [SOLUCIONADO] al título. Gracias.
User avatar
JCSenar
Level 11
Level 11
Posts: 3646
Joined: Sat Sep 06, 2014 6:26 pm
Location: Irun, España
Contact:

Re: Error al sincronizar Google Drive con Grive[Solucionado]

Post by JCSenar »

¿Por qué, de repente, das el problema como solucionado? :shock:
Si tu consulta ha sido resuelta, por favor, edita tu primer mensaje y añade [SOLUCIONADO] al título. Gracias.
Locked

Return to “Español - Spanish”