This topic was automatically generated from Slack. You can find the original thread here.
I’m able to run this successfully in the Wix Dev environment, but cannot get it to work in Pipedream
This topic was automatically generated from Slack. You can find the original thread here.
I’m able to run this successfully in the Wix Dev environment, but cannot get it to work in Pipedream
Hi Cindy, can you share more about the issue? Is there a specific error message that Wix’s API is returning?
So that means that your request is either missing data or has malformed data. Have you tried changing the {{steps.getAllSites.$return_value.sites[2].id}}
to a static hardcoded value instead?
Just to make sure that the path to that variable is correct
I have
I’ve used this: 487b1f69-2826-4293-b9cb-0559304f7ab7
Is it the same result?
Meaning, is the same error returned from Wix’s API?
Yes, precisely the same
Great, then that means the format of the request is probably a bit off
I’ve also used siteId instead of id as I was poking around in Pipedream’s github and I noticed that this was being used in there
Is this the endpoint you’re trying to integrate with?
I was able to list all of the collections successfully. I am trying to list a particular collection now.
So this is the endpoint you’re attempting to integrate with then?
it looks like it’s expecting just a URL parameter, not a query parameter.
Sorry — I’m wrong. I was able to do a different one successfully. I was able to list all of my sites, not all of my collections
Sorry, I’m a bit confused now. Are you trying to retrieve a specific Site or Collection? The URL you’re using in the example screenshot shows a collection
This was the one I was able to execute successfully: