airbytehq / write-for-the-community

Contribute and collaborate on educational content for the Airbyte Community.
MIT License
42 stars 8 forks source link

Survey Monkey integration 403 Client Error #178

Open ecarranza-sh opened 10 months ago

ecarranza-sh commented 10 months ago

Submission Details

Regarding the Survey Monkey integration in Airbyte i ran across an error that maybe some of you did as well and if not this will help anyone who is trying to integrate SM with Airbyte.

The Format

When creating a private app in SM and then trying to do a first connection with airbyte i came across a 403 error regarding authentication.

"HTTPError('403 Client Error: Forbidden for url: https://api.surveymonkey.com/v3/users/me')"

and inside the logs:

2024-01-26 11:45:44 ERROR i.a.w.i.VersionedAirbyteStreamFactory(internalLog):313 - Check failed

After checking the logs and going through the airbyte documentation and also the python scripts that are used for the integration of SM, i realised that some of the scopes in the SM app are used in airbyte for authentication, so you need to change the status to "Required" in order for airbyte to access the app.

Screenshot 2024-01-26 at 11 44 25

In this picture you can see the "Required" scopes i need in order to just bring the surveys as well as the responses and questions.

Hope this can help people that are having this error in their integration with SM.