When I try to link the Wix API, I get this error:
Seems That Something Is Wrong
The redirect url doesn’t match the one defined in your app configuration. Double check that it starts with https.
I looked at the code and it has https:
import requests
def handler(pd: “pipedream”):
token = f’{pd.inputs[“wix”][“$auth”][“oauth_access_token”]}’
authorization = f’Bearer {token}’
headers = {“Authorization”: authorization, “Content-Type”: ‘application/json’}
r = requests.get(‘https://www.wixapis.com/contacts/v4/contacts’, headers=headers)
Export the data for use in future steps
return r.json()
What should I do here?