Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:55:20+00:00 2026-05-23T23:55:20+00:00

In my rails 3 application, I am using carrierwave gem (version 0.5.6). I would

  • 0

In my rails 3 application, I am using carrierwave gem (version 0.5.6). I would like to use Google Storage for developers for storing the uploaded files. I have created an initalizer which looks like following:

CarrierWave.configure do |config|
    config.fog_credentials = {
        :provider                         => 'Google',
        :google_storage_access_key_id => 'xxxx',
        :google_storage_secret_access_key => 'yyyy'
    }
    config.fog_directory = 'directory'
end

I am getting 403 forbidden message with

...<Error><Code>InvalidSecurity</Code><Message>The provided security credentials are not valid.</Message>...

I have just enabled my Google Storage using the apis-console, and I can upload files using the online ‘Google Storage Manager’. For ‘google_storage_access_key_id’ in the initializers file above, I am using ‘Google Storage Id’ for ‘You’ in the ‘Storage Access’ page. For ‘google_storage_secret_access_key’, I am using the ‘Legacy storage access keys’.

I don’t know how to proceed. Could someone kindly point me towards how to get about debugging this issue?

Thanks,
Saksham

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:55:20+00:00Added an answer on May 23, 2026 at 11:55 pm

    It sounds like you’ve enabled the legacy access keys for your account. From the Google APIs console select Google Storage and then click on legacy access.

    Use the access key from that page here:

    google_storage_access_key_id => ‘xxxx’,

    From the APIs console click show to display your secret key. Use that key here:

    google_storage_secret_access_key => ‘yyyy’

    Do not use the Google ID for legacy access.

    Hope this helps,

    Anthony

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a Rails application and would like to send/receive text messages through my
I have created a pdf version of our rails application using the Prawn plugin,
I'm trying to pull Google Contacts into a Rails application using the Google Contacts
i want to implement a digg-like vote up/down method in my rails application using
I'm working on a Rails application and using HAML for the views. I would
In my Rails application I am using the Google Maps AutoComplete API to allow
I am using Rails 3 and carrierwave gem. My problem is the next: I
I'm building a Rails application using MongoDB as the back-end and MongoMapper as the
I am currently developing a Rails application using a database that was designed before
I am currently deploying a Rails application using Capistrano. Cap deploy:update_code usually works just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.