Title: aghilmort's Replies | WordPress.org

---

# aghilmort

  [  ](https://wordpress.org/support/users/aghilmort/)

 *   [Profile](https://wordpress.org/support/users/aghilmort/)
 *   [Topics Started](https://wordpress.org/support/users/aghilmort/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aghilmort/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aghilmort/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aghilmort/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aghilmort/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aghilmort/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Short URL] Import External URL](https://wordpress.org/support/topic/import-external-url/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/import-external-url/#post-5022734)
 * Sounds good. thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Short URL] Import External URL](https://wordpress.org/support/topic/import-external-url/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/import-external-url/#post-5022659)
 * Suppose we manually added some external URLs. If we then click the export button,
   we download a text file which reads something like:
 *     ```
       1,1,OHxr4,,
       2,,7MwF3,,
       0,,Igaj0,http://www.azsos.gov/business_services/tnt/tnt_name_search_instructions.htm,Arizona
       0,1,MDfuk,http://www.commerce.state.ak.us/CBP/Main/CBPLSearch.aspx?mode=Corp,Alaska
       0,2,eKrYd,http://www.sos.state.al.us/vb/inquiry/inquiry.aspx?area=Business%20Entity,Alabama
       ```
   
 * However, suppose we want to add some external URLs for bulk upload purposes, 
   say like this.
 *     ```
       1,1,OHxr4,,
       2,,7MwF3,,
       0,,Igaj0,http://www.azsos.gov/business_services/tnt/tnt_name_search_instructions.htm,Arizona
       0,1,MDfuk,http://www.commerce.state.ak.us/CBP/Main/CBPLSearch.aspx?mode=Corp,Alaska
       0,2,eKrYd,http://www.sos.state.al.us/vb/inquiry/inquiry.aspx?area=Business%20Entity,Alabama
       0,,Fk1o8,http://www.sos.arkansas.gov/corps/search_all.php,Arkansas
       0,,aZoj2,http://kepler.sos.ca.gov/,California
       ```
   
 * If we attempt to upload this file, we simply receive a bunch of warnings saying
   line 282 is expecting two parameters and only received one and none of the external
   URLs are added. Furthermore, if we then download the updated list of URLs using
   the export button, it looks like this:
 *     ```
       1,1,OHxr4,,
       2,,7MwF3,,
       0,0,,,
       0,0,,,
       [... bunch more 0,0,,, rows, one per external URL we imported]
       0,,Igaj0,http://www.azsos.gov/business_services/tnt/tnt_name_search_instructions.htm,Arizona
       0,1,MDfuk,http://www.commerce.state.ak.us/CBP/Main/CBPLSearch.aspx?mode=Corp,Alaska
       0,2,eKrYd,http://www.sos.state.al.us/vb/inquiry/inquiry.aspx?area=Business%20Entity,Alabama
       ```
   
 * What we don’t know is if we’re somehow using the wrong file format for the import
   process or if there’s a glitch in the code, or if it’s something such as the 
   file must be encoded in some specific format such as Unicode, UTF-8, etc. Thoughts?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Multiple Google Drive Backups](https://wordpress.org/support/topic/multiple-google-drive-backups/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-google-drive-backups/#post-4540985)
 * Appears problem resolved by creating unique project for each backup set. Previously,
   we created a unique client key for each backup set. We now create a new project
   for each backup set and then a new client key within that project. So far so 
   good for past week or so with no errors.
 * representative configuration screen shot at this [Google Drive link](https://docs.google.com/file/d/0B5p5xJ2wbCBBUDBtamR5OHlEbXM/).
 * Thanks for working with us to resolve. May be worth mentioning in help file &/
   or clarifying the on-screen instructions to this effect (if we’re supposed to
   create a new project and not simply a new client key for each backup set within
   an existing project, we missed it).
 * Cheers! & thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Multiple Google Drive Backups](https://wordpress.org/support/topic/multiple-google-drive-backups/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-google-drive-backups/#post-4540849)
 * it appears to be helpful if we actually visit the google drive folder in addition
   to the api console and the wp updraftplus settings page while logged into the
   same account. also using a debug backup appears to be helpful as compared to 
   the backup now button. at the very least the two sites that weren’t working are
   now working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Multiple Google Drive Backups](https://wordpress.org/support/topic/multiple-google-drive-backups/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-google-drive-backups/#post-4540847)
 * catching up on your last few suggestions…
 * nod on cross-site security error – that said, is it possible something happens
   during backup after backup now is pressed where oauth query returns oh, you’re
   not logged into right account and fails. Not which account is logged in, simply
   current account doesn’t match credentials? Primarily asking as a non-expert on
   oauth?
 * yes, just re-checked all four sites; all have correct client IDs, secrets, & 
   callbacks. Of those, two sites are working properly and two are not. Should each
   client id be within it’s own project? Or more precisely, would there be any reason
   why the google api would flake out if it sees multiple subdomains &/or same IP
   address using different client ids within the same project from the same external
   api?
 * Specific error we get in the log is of the form
 * 0093.339 (0) Google Drive: requesting access token: client_id=redacted-super-
   secret-id.apps.googleusercontent.com
    0093.443 (0) Google Drive error when requesting
   access token: response does not contain access_token
 * the other weird thing is that sometimes, even after properly re-authenticating
   with the correct account the error remains. In other words, we log into right
   account in anonymous session, get queried that the Google api wants permissions,
   we accept, and error still remains.
 * Other ideas for us to look at, known plugin conflicts, etc?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Multiple Google Drive Backups](https://wordpress.org/support/topic/multiple-google-drive-backups/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-google-drive-backups/#post-4540837)
 * Based on additional testing, we can verify the error does occur after click backup
   now on the settings page while not currently logged into the same Google account
   as the account which the backup is using.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Multiple Google Drive Backups](https://wordpress.org/support/topic/multiple-google-drive-backups/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-google-drive-backups/#post-4540788)
 * Based on that post, is it possible the Google Drive API is interpreting multiple
   requests from UpdraftPlus (within the same Google account) as being from the 
   same app (even if the client ID is different) as somehow being different and 
   thus exceeding the credential limit in some way.
 * In other words, the solution may simply be to create a different Google account
   for each site? Or just explore using SFTP since the fix may not be easy, even
   if we can collectively determine the root cause?
 * Interestingly enough, we’ve only been using UpdraftPlus since ~June 2013, so 
   that post wouldn’t seem to apply, and our initial site using it hasn’t ever generated
   an expired oauth session and it uses the same google account as the other 4-5
   sites.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] Multiple Google Drive Backups](https://wordpress.org/support/topic/multiple-google-drive-backups/)
 *  Thread Starter [aghilmort](https://wordpress.org/support/users/aghilmort/)
 * (@aghilmort)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-google-drive-backups/#post-4540771)
 * Hmm – each site has unique client ID & secret, which is set appropriately.
 * It’s possible there’s an expiration setting – the Google Drive API talks about
   it being an hour, however, that may simply be to be using their credentials creation
   console or drive itself and not necessarily when using it via the API. Possibly
   worth looking into, though WP-cron’s most often rate, hourly refresh, is right
   at the same level. So if “credential refresh” proved to solve it, might need 
   two tasks running every hour which are offset by 30 minutes each to guarantee
   meets the hourly requirement.
 * One question might be – what happens when we click Backup Now – does that perchance
   peek at whatever our current Google credentials are and perhaps override the 
   original oauth – that’s the only thing I can think of based on your suggestions
   that could be creating the bug. Alternatively stated, should we only click backup
   now when also logged in as the Google account we used to create the client ID/
   secret?
 * We’re taking a look at premium – the migrator addon is perhaps our biggest need
   at this time. Will advise if we need to transition this thread to your paid forums
   due to WordPress.org guidelines.

Viewing 8 replies - 1 through 8 (of 8 total)