Forums - Share your ideas, feedback and know-how
Step 1 Join the community Step 2 Introduce yourself Step 3 Share your know-how Step 4 Provide Feedback

News on the Vine

Betavine 2.1 - Now with member profiles.

Today we went live with betavine.net member profiles. Member profiles allow you to describe who you are...
Add Comment

Betavine 2.0 Goes Live!

We've just released version 2.0 of betavine.net. In December 2007 we decided to re-write the whole platform...
Add Comment

Over The Air Success!

The Betavine team are now fully recovered from the Over The Air festival of fun! A 2 day event held...
Add Comment

The RedesignMe betavine.mobi PRO Challenge

The Brief Redesign a technical mobile website into a consumer friendly mobile website. Description betavine.mobi...
Add Comment

Feedback from CeBIT 2008

The Betavine team recently had the opportunity to demonstrate Betavine at CeBIT 2008. CeBIT (Centrum...
Add Comment

Nokia Student Competition Launches

We are really pleased to be able to announce the second student competition for 2008, which is being...
Add Comment

Betavine Student Competitions

Following our first round of student competitions in 2007, which were all sponsored by Vodafone Group...
Add Comment

betavine.mobi

Our vision for Betavine, right from the start, has been to create a community of developers and non-developers...
Add Comment

Betavine goes full colour!

Our goal in life is to be a bright, vibrant community where those who share our passion for all things...
Add Comment

New Release of Betavine

Have you noticed all of the changes to the website? With this latest release (1.7 for those who are keeping...
View Comments (2)  |  Add Comment

Forums

mikerowehl
mikerowehl
Mowser
Always getting error code 4 back
I'm trying to use the APIs to test out sending SMS to myself. I tried sending requests using a developer key, and if I understand the reference docs correctly a URL like the following should work:

http://www.vodafonebetavine.net/api/send/...
...sms.xml?auid=DEVAUID&message=miketesting...
&dest=+16507146444

But I always get an error code 4 from that. I also tried generating a Mashup key and using that instead of my developer key, but same thing. Can the APIs only be used to send to Vodafone users? Or am I doing something else wrong?

- Miker
Login to reply
OwenGriffin
OwenGriffin
Vodafone Research & Development
RE: Always getting error code 4 back as a reply to mikerowehl
mikerowehl:
I'm trying to use the APIs to test out sending SMS to myself. I tried sending requests using a developer key, and if I understand the reference docs correctly a URL like the following should work:

http://www.vodafonebetavine.net/api/send/...
sms.xml?auid=DEVAUID&message=miketesting...
&dest=+16507146444

But I always get an error code 4 from that. I also tried generating a Mashup key and using that instead of my developer key, but same thing.


Your developer key will not send messages. It is designed only for testing purposes. The developer key will behave exactly like a mashup key. The mashup key however will send messages.

A error code 4 is an invalid parameter. I noticed from the URL you have posted you have a prefixed a + at the beginning of the number. Try again without the +.

mikerowehl:
Can the APIs only be used to send to Vodafone users?


The API should send text messages to any operator.
Login to reply
mikerowehl
mikerowehl
Mowser
RE: Always getting error code 4 back as a reply to OwenGriffin
It was actually a typo in the url, I had auid instead of uaid, swapping to JSON encoding made the error return more obvious. It says it's delivering messages when I use my mashup key now, and it's subtracting credits from my account. But I'm not actually getting the messages. Anyone tried using the API to deliver messages to ATT/Cingular in the US?

- Mike
Login to reply
OwenGriffin
OwenGriffin
Vodafone Research & Development
RE: Always getting error code 4 back as a reply to mikerowehl
mikerowehl:
It was actually a typo in the url, I had auid instead of uaid, swapping to JSON encoding made the error return more obvious. It says it's delivering messages when I use my mashup key now, and it's subtracting credits from my account. But I'm not actually getting the messages.


If this turns out to be a connectivity problem on our side I'm sure we can just top up your credits.

mikerowehl:
Anyone tried using the API to deliver messages to ATT/Cingular in the US?


I have not tested it. We don't have access to an ATT/Cingular SIM. I will investigate to see if any of your messages are failing.
Login to reply
OwenGriffin
OwenGriffin
Vodafone Research & Development
RE: Always getting error code 4 back as a reply to OwenGriffin
Would you be able to provide a date and time when you last sent a message to an ATT/Cingular SIM so I can look at the logs more closely?

Thanks.
Login to reply
mikerowehl
mikerowehl
Mowser
RE: Always getting error code 4 back as a reply to OwenGriffin
Hey Owen, thanks for the offer, here are the details for a message I sent at 12:30pm Pacific time. This is the command I used to generate the request:

curl 'http://www.vodafonebetavine.net/api/send/sms.xml?uaid=2m8xlc51c6p3zkbyxggdivvel5fqu2qv&message=miketesting&dest=16507146444'

and here is the response, it has a transaction id and all, hopefully it'll make it easy to dig out:

<?xml version="1.0" encoding="UTF-8"?>
<response version="1.1">
<method>send/sms</method>
<status>OK</status>
<transaction>
<id>5793</id><messages>
<message><id>5624</id><status>1</status>
<deliveredAt></deliveredAt><sentAt>2008-02-27 20:31:07.0</sentAt></message>
</messages></transaction>
</response>
Login to reply
mikerowehl
mikerowehl
Mowser
RE: Always getting error code 4 back as a reply to mikerowehl
Anyone have any ideas here? I tested it out again to see if it was a transient problem, but still the same thing. The message is reported as delivered, a credit is deducted, but no message makes it through to my phone.
Login to reply
mikerowehl
mikerowehl
Mowser
RE: Always getting error code 4 back as a reply to mikerowehl
Still not getting messages through. Anyone?
Login to reply
OwenGriffin
OwenGriffin
Vodafone Research & Development
RE: Always getting error code 4 back as a reply to mikerowehl
mikerowehl:
Still not getting messages through. Anyone?


I've contacted the guys who run the SMS gateway and they are looking into it.

The Betavine API appears to be sending the messages successfully.

Sorry for the delay.
Login to reply
mikerowehl
mikerowehl
Mowser
RE: Always getting error code 4 back as a reply to OwenGriffin
Thanks Owen! I'll keep checking back.
Login to reply
Select page:     1   2   >   »