You were right.My password doesn't work anymore. I requested a new
password
and there seems to have been a change from 6 chars to 8. With  a new
password
I can again upload.

But now I am getting a bad data format error on the float attribute
bedroom,
I checked in the debugger and it seems to be fine, same as bathrooms
under the
GBaseAttributes.

But I receive an error saying that it must be a number?

Code:

public GoogBaseEntry(string title,
                                string location,
                                string itemType,
                                string listingType,
                                string description,
                                decimal bathrooms,
                                short bedrooms,
                                int area,
                                decimal price,
                                string imageURL,
                                string uri)
            : this()
        {
            _entry.Title.Text = title;
            _entry.Content.Content = description;
            _entry.GBaseAttributes.Location = location;
            _entry.GBaseAttributes.ItemType = itemType;
            _entry.GBaseAttributes.AddTextAttribute("listing_type",
listingType);
            _entry.GBaseAttributes.AddFloatAttribute("bathrooms",
(float)bathrooms);
            _entry.GBaseAttributes.AddFloatAttribute("bedrooms",
(float)bedrooms);
            _entry.GBaseAttributes.AddNumberUnitAttribute("area",
(float)area, "sqft");
            _entry.GBaseAttributes.AddFloatUnitAttribute("price",
(float)price, "USD");
            _entry.GBaseAttributes.ImageLinks = new string[]
{ imageURL };

            AtomLink link = new AtomLink(AtomLink.HTML_TYPE,
BaseNameTable.ServiceAlternate);
            link.HRef = new AtomUri(uri);
            _entry.Links.Add(link);

        }

Regards


On Oct 13, 4:10 pm, Alex <[email protected]> wrote:
> Are you sure you can still login with your account? For example to GMail?
> Maybe the password was changed in the meanwhile.
> If you submit products, you should check the Merchant Center 
> here:http://www.google.com/merchants
>
> If you submit non-products data, you should check you can login on Base
> here:http://www.google.com/base
>
> Let me know if it works. Can you also provide the Account Id, as displayed
> in the Merchant Center or Base (depending on which items you submit)?
>
> Alex
>
>
>
>
>
> On Tue, Oct 13, 2009 at 1:08 PM, Sink <[email protected]> wrote:
>
> > I cleared the Captcha error by going to the "https://www.google.com/
> > accounts/UnlockCaptcha?" screen
> > and inputing the value. We do a periodic entry of an ad to the Base,
> > not more then 1 or 2 a day so
> > we do authenticate for each request.
>
> > The problem is that not I continue to get the "invalid credentials"
> > error, which I imagine will shortly
> > trigger the Captcha request again.
>
> > The developer key is the same one returned whenever a request for a
> > key is made.
> > The login is my gmail login and password and has always worked untill
> > the last few days,
> > honestly, it has been awhile since we try uploading so I do not know
> > how long this has been
> > obsolete.
>
> >  public GoogBaseEntry()
> >        {
> >            _service = new GBaseService("the-net-realtor",
> > developerKey);
> >            service.setUserCredentials("[email protected]", "xxxxx");
>
> >            _entry = new GBaseEntry();
> >            _addID = null;
> >            _expires = DateTime.MinValue;
>
> >        }
>
> > this is the code I use to create an entry.
>
> > Regards
>
> > On Oct 13, 12:54 pm, Alex <[email protected]> wrote:
> > > Most probably you get the Captcha error because you try to authenticate
> > for
> > > each request. But I don't know your code, so this is just a guess. You
> > get
> > > the captcha response when
> > > you try to authenticate (service.setCredentials())?
> > > Can you post the request and the error you received? Did you get the
> > error
> > > from Base API?
> > > For debugging your issue, you should use the demo
> > > page<http://www.google.com/base/api/demo/html/demo.html> .
> > > Then you can actually see the
> > > error you get back from Base API Servers.
>
> > > As I see it, this might not be a problem with Base, but the
> > authentication
> > > phase.
> > > But so far you didn't provide enough information for me to understand
> > what
> > > is
> > > going on.
>
> > > Alex
>
> > > On Tue, Oct 13, 2009 at 12:25 PM, Gary Sinkowitz
> > > <[email protected]>wrote:
>
> > > > Uploading to Google Base worked fine for six months, when I recently
> > tried
> > > > to upload a new ad, I received an invalid credentials error. So I
> > requested
> > > > a new developer key and tried again, same error, so I downloaded a new
> > > > libaray and tried again. Now I get a Captcha error.
> > > > Anyone have any idea what is going on here, this is getting way too
> > time
> > > > consuming. I am considering just stripping this out of my program, too
> > mush
> > > > effort for too little return, I have never actually gotten an inquiry
> > from
> > > > Google Base.
>
> > > > Regards
>
> > > --
> > > Alex Dovlecel, Google Switzerland GmbH
> > > Company Identifikationsnummer: CH-020.4.028.116-1
>
> --
> Alex Dovlecel, Google Switzerland GmbH
> Company Identifikationsnummer: CH-020.4.028.116-1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to