API Authentication Error, Error 500 on the browser

0

Hi there,

Pretty new to SurveyGizmo and was asked to work with the PHP Library, available on GIT, and having troubles even just to start with it. Right now I am only affecting the $api_key and $api_secret on index.php and running it, but I keep getting a “Not Authorized”. Also when I try the get on my browser I get this message: “Server 500 – Security Authentication Error” I am accessing this using the link: https://restapi.surveygizmo.com/v5/survey/90007095/?api_token=xxx&api_token_secret=xxx

Anyone has any idea why is this happening? Thanks!

IS answered
    1
    IS 2.20K Rep.

    I substituted a valid survey id from my account, my api token, and api secret and it worked fine for me.

    I suspect that the survey ID you are using is incorrect.  The one you listed seems too large. Try removing the survey id to get a list of surveys and see if that works for you:

    https://restapi.surveygizmo.com/v5/survey/?api_token=xxx&api_token_secret=xxx

    devsquad90 commented
      • Hi there, thanks for your help. I already tried to do this and also just with the survey, as you mentioned, but still get the same answer… the refreshing of the api token didn’t do it for me… I will try and call them.

      ×

      Login

      Question stats

      • Active
      • Views2040 times
      • Answers1 answer
      • Followers1 follower