cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Pixel Clear
New member | Level 2

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

4 Replies 4

Здравко
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
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.

Здравко
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.

Greg-DB
Dropbox 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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
  • User avatar
    Pixel Clear New member | Level 2
What do Dropbox user levels mean?