Richard Rauser
unread,Feb 18, 2009, 8:26:16 AM2/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dipity Developer API Discussions
Hi all,
I've recently begun working with the Dipity API and I'm having an
issue I hope you can help with. I live and work in the UK which uses
Greenwich Mean Time. I have found that I cannot create events using
the Dipity API for the GMT timezone unless I specifically set the
timezone to "-00:00" rather than "+00:00", and furthermore I cannot
create events for any timezone that is ahead of GMT, e.g.
"+01:00" (Paris), or "+02:00" (Helsinki).
To summarize, I can create events fine for dates with the format:
2009-02-09T09:58:29-01:00
If the only thing I change for such an event is the timstamp, from the
"-" to a "+" as follows:
2009-02-09T09:58:29+01:00
Then the event cannot be created and I receive an HTTP response with
status code 403 (Forbidden).
Note that I have ported your PHP SDK to Java and so I'm wondering if
perhaps the way I'm generating the signature is incorrect, but I doubt
this as I am able to create events without error for all time zones
less than GMT. Also I am able to create timelines without issue. In
case something is awry with the signature hashing algorithm I have
included the output of this here:
2009-02-18 13:14:08,794 INFO [http-80-2]
com.procinity2.utils.dipity.DipityRestClient (DipityRestClient.java:
602) - Sig params =
5e8fea074afe71b06f7c9fd4454147a1timestamp2009-02-09T09:58:29+01:00titleTesting
Encounters
2009-02-18 13:14:08,794 INFO [http-80-2]
com.procinity2.utils.dipity.DipityRestClient (DipityRestClient.java:
605) - Signature = 84d50b3d6aebf67c65ccc7887da0b7cf
Thanks for any help,
Rich