bcemmett / SurveyMonkeyApi-v3

Library for querying SurveyMonkey's v3 API
MIT License
37 stars 25 forks source link

api.GetCollectorResponseDetailsList Issue #3 #17

Open vectortonto opened 7 years ago

vectortonto commented 7 years ago

This is a continuation of closed Issue #3

Below you will see a code block that is for the most part working static void Test2() { using (var api = new SurveyMonkeyApi("apiKey", "oAuthToken")) { List surveys = api.GetSurveyList(); //Works List collectors = api.GetCollectorList(86233126); //Works

        Collector collector = api.GetCollectorDetails(93166347);       //Works
        List<Response> responses = api.GetCollectorResponseDetailsList(93166347);  //Not Working

    }
}

============================================================== You replied: Interesting, thanks for reporting. This does seem to work ok for me, and the tests for that pass. SurveyMonkey's v3 api now has the concept of scopes, granting granular permissions over different actions you can take over the api. Is it possible that your key has been set to have permission to view surveys and collectors, bit not responses?

If you go into the settings for you app from https://developer.surveymonkey.net/apps/ image , can you check that you have the View Responses and View Response Details scopes granted?

Cheers! Ben

My Reply 11/7 Ben attached is a screenshot of my settings screen. I've tried the View Responses and View Response Details settings both of Required(Shows the Lock) Optional(Shows Unlock Icon)

bcemmett commented 7 years ago

Did you get this working? I'm afraid I can't reproduce anything like this. Do you have any more details of the error? Can you try running Fiddler to look at the details of the request coming back from the api, and let me know what it says?

bcemmett commented 7 years ago

If you update to the latest version (3.0.88), you'll also hopefully get some more useful information if it fails.