Skip to content

Can't update a file #15

@ingolfured

Description

@ingolfured

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions