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