cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn 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: 

Re: The system account was not connected for offline access error when connecting Dropbox OAuth 2 Mo

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?