We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
ebussus
8 years agoNew member | Level 2
Moodle
Hola!
tenía mi Dropbox sincronizado con mi Moodle, y podía enlazar archivos sin problemas dentro de un repositorio "Dropbox", pero desde hace unos días me da el siguiente error y ya no me deja acceder:
"
Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.
More details for developers
Invalid redirect_uri. When response_type=code, only localhost URIs can start with "http://"; all others must start with "https://".
Siempre me ha ido.... he intentado generar de nuevo la API, pero no hya forma. ¿Alguién me puede ayudar?
Gracias!
- Greg-DBDropbox StaffThis error indicates that you're using an http:// redirect URI for your integration, which isn't allowed, as a matter of security in the OAuth 2 code flow. The best solution is to use an https:// redirect URI.
If you don't have an https:// redirect URI to use, an alternative is to not use a redirect URI at all. If you omit the redirect_uri, the authorization code will be displayed directly to the user. They can then copy and paste that code into your app, at which point your app can finish the flow by calling /oauth2/token:
https://www.dropbox.com/developers/documentation/http/documentation#authorization
---
Este error indica que está utilizando un http:// redirect URI para su integración, que no está permitido, como cuestión de seguridad en el flujo de código OAuth 2. La mejor solución es usar un https:// redirect URI.
Si no tiene un URI de redirección https:// para usar, una alternativa es no usar un URI de redireccionamiento. Si omite redirect_uri, el código de autorización se mostrará directamente al usuario. A continuación, pueden copiar y pegar ese código en la aplicación, momento en el que la aplicación puede terminar el flujo llamando a /oauth2/token:
https://www.dropbox.com/developers/documentation/http/documentation#authorization- correotorrentNew member | Level 2
Tengo el mismo caso. Desde hace unos dias cuando intento subir un archivo desde Moodle con el plugin de dropbox me sale el mensaje "error/Error while requesting an oauth token" y no me permite ver mis carpetas de dropbox.
-------------
I have the same issue, when I try access to files in moodle by dropbox it not allow me, and it show "error/Error while requesting an oauth token"
- Greg-DBDropbox Staff
correotorrent It sounds like you're getting this error because we retired API v1 recently. I would need to see the actual error response you're getting to confirm that though.
For reference, if that is the issue, as announced last year, API v1 has been retired. You can find more information in the blog post here:
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
We notified developers by email, but it sounds like those emails unfortunately did not make it to you.
Now that API v1 has been retired, further API calls to it will fail. You should migrate your app to API v2 instead:
https://www.dropbox.com/developers
If you didn't write the code for your app, for example, if you're using some pre-made app or plugin from another developer, you'll need to get an updated version that supports API v2 from them.
If you need more time to migrate your app to API v2, we can offer an extension for access to API v1. To request that, please open an API ticket with the relevant app key(s):
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 4 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!