You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Pixel Clear's avatar
Pixel Clear
New member | Level 2
3 months ago

The system account was not connected for offline access error when connecting Dropbox OAuth 2 Moodle

I was trying to connect Dropbox to the Moodle LMS. When I try to connect to a system account icon, I get this error.

 

The system account was not connected for offline access

 

I have added the API key, Secret, redirect links and also configured endpoints and user field mappings.

 

Is this linked to Moodle or Dropbox API? I am using Moodle version 4.3.3 and using free Dropbox plan

 

Please assist in resolving this issue. The screenshot is given below.

 

https://ibb.co/N3v63Jm

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    As Здравко said, this error message does not come from Dropbox itself. This sounds like something the Moodle software should configure, so I suggest reaching out to the makers of Moodle for help.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Hi Pixel Clear,

    One thing is certain - your issue is not directly related to Dropbox API, since the error is not coming from Dropbox API. Contact your middle stage environment provider for further info and if needed that provider will contact Dropbox with additional details.

    Good luck.

    • Pixel Clear's avatar
      Pixel Clear
      New member | Level 2

      Hi Здравко,

       

      Thanks for the quick reply. I asked from Namecheap that hosts my server and they said they are not blocking anything coming from Dropbox. 

       

      I used HTTP protocols. I added the API key ID and secret and also below links I got from Dropbox documentation and applied them to Moodle settings

       

      service base url
      https://api.dropboxapi.com

       

      authorization_endpoint
      https://www.dropbox.com/oauth2/authorize

       

      token_endpoint
      https://api.dropboxapi.com/oauth2/token

       

      userinfo_endpoint
      https://api.dropboxapi.com/2/openid/userinfo

       

      Please let me know if these API endpoints are correct

       

      Thanks.

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        API endpoints are correct, but it's another story what are you doing with them! Maybe something is wrong with what you do. I though that what you showed comes from other provider and my previous advice was in this context, but since you're doing all calls, clarify what exactly are you doing.

        Take a look here, as an example, and see what are differences with what you do.

        Hope this gives direction.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 12 hours ago
325 Following

If 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!