Getting 500 error getting the Auth Key

31 views
Skip to first unread message

Adrian Estrada

unread,
Feb 3, 2015, 9:35:46 PM2/3/15
to change-...@googlegroups.com
Hello

I am implementing the API but trying to get the Auth Key to place a signature later I get this:

{ result: 'failure',  messages: [ 'There was a server error. Please try again later.' ] }

Here is the petition:

{ method: 'POST',
  url: 'https://api.change.org/v1/petitions/hereistheid/auth_keys',
  json: true,
  body:
   { petition_id: hereistheid,
     source_description: 'My site',
     source: 'http://mysite.org/petition',
     requester_email: 'm...@mail.com',
     callback_endpoint: 'http://mysite.org/update',
     endpoint: '/v1/petitions/hereistheid/auth_keys',
     timestamp: 1423016994770,
     api_key: 'mykey' } }

Not sure what is going on? what is missing or what should be changed?

Thanks


Reply all
Reply to author
Forward
0 new messages