Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't update a file #15

Open
ingolfured opened this issue Jun 30, 2016 · 0 comments
Open

Can't update a file #15

ingolfured opened this issue Jun 30, 2016 · 0 comments

Comments

@ingolfured
Copy link

I'm trying to update a file in the following way:

file = directory.files.create(key: "justtesting", body: "some body")
file.body = ""
file.save

However, this returns me

Fog::Storage::Rackspace::ServiceError: [HTTP 503 | tx2a7abaa345d14c9898cc1-0057754df5lon3]

Everything is fine when I do

puts file.inspect 

(before the file.save though).

Any ideas? In the documentation it says only some objects can be updated. How do I know which one it is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant