Hi Chris,
This is what I'm posting; your version doesn't have the # in the address,
nor the venue type field but otherwise it looks the same.
BTW, are you still using the venue type field? Should I use the values,
rather than the display text?
Thanks!
Nancy
"name" value="DiversityWorks Worshops"
"address" value="800 Heinz Ave. #14"
"city" value="Berkeley"
"region" value="CA"
"postal_code" value="94710"
"country" value="United%20States"
"venue_type" value="Community Center"
"app_key" value="xxxxxxxxx"
"user" value="xxxxxxxxxx"
"user_key" value="xxxxxxxx"
xml document [short version]
error
XmlText
XmlAttributes
struct
string Unable to add venue
description
XmlText
----------------------------------------
From: "Chris Radcliff" <[email protected]>
Sent: Monday, January 17, 2011 9:21 AM
To: [email protected]
Subject: Re: [api-developers] getting "unable to add venue"
Hi Nancy,
The API won't give you an error message if you provide a duplicate venue.
At most, it should just quietly give you the ID of the one we already have.
(Even that only happens in the case of exact duplicates.) Errors should
only occur if you're missing a crucial field (string="Missing parameter")
or provide invalid data (string="Unable to add venue") for the country or
region/state.
I just added one of your examples via the API, and it went in without an
error:
http://eventful.com/berkeley/venues/diversityworks-worshops-/V0-001-00480590
3-4
The API parameters I used were:
http://api.eventful.com/rest/venues/new?...&name=DiversityWorks%20Worshops&c
ountry=United%20States&address=800%20Heinz%20Ave.%2014&city=Berkeley®ion=
CA&postal_code=94710
If that's different than what you tried, please send me the parameters you
used and I'll test with those. If it was the same, then let me know and
I'll look into the possibility of a temporary error over the weekend.
Thanks,
~chris
On Jan 16, 2011, at 7:12 AM, Nancy Tubbs wrote:
Hi - I'm starting to get the error message "unable to add venue", when
previously venues would go in without any issues whatsoever, even if
there's a similar venue entry already. Often venues that come back in
search results are incomplete or wrong, so I like to submit a correct entry
if necessary.
Examples:
The Nexus, 1414 Harbor Way South. Ste 1010, , Point Richmond, CA, 94804
DiversityWorks Worshops, 800 Heinz Ave. #14, , Berkeley, CA, 94710
A search for them turns up nothing, even variations on the name, or using
just the street address. But I cannot add them, at least via the API.