aweber / AWeber-API-Ruby-Library

DEPRECATED - Ruby interface to AWeber's API.
http://www.aweber.com
BSD 3-Clause "New" or "Revised" License
25 stars 18 forks source link

Can't update subscribers #28

Closed TrevorHinesley closed 10 years ago

TrevorHinesley commented 10 years ago

If I execute the docs' code exactly:

subscriber = account.lists[list_id].subscribers[subscriber_id]
subscriber.name = "blank"
subscriber.save

I get this error:

#<Net::HTTPMethodNotAllowed 405 Method Not Allowed readbody=true>

TrevorHinesley commented 10 years ago

Referenced in #29

pianoman19372 commented 10 years ago

Hi Trevor:

My name is Ed Long, and I'm a web platform architect for AWeber Communications. I've also worked on our public api and client libraries. I saw your github issue this morning and wanted reach out to you.

I'm not sure why you are getting this for the example given above. Can you please email api@aweber.com with the consumer key of your application and the approximate date and time that you got this error and I or someone from the operations team will be able to look up why you were presented that error

TrevorHinesley commented 10 years ago

@pianoman19372 Ed, may this be because the user is unconfirmed?

pianoman19372 commented 10 years ago

Yes, if the subscriber's status is 'unconfirmed' you would not be able to update the subscriber.

We have this listed on the docs: "You can not modify or delete Subscribers with a status of 'unconfirmed'". but its not really highlighted in any way.
I'll look into modifying the docs to make that clearer

TrevorHinesley commented 10 years ago

Sorry about the confusion, I must've overlooked that part. Thanks again for clarifying.