Why Can't I Run This Successfully in Pipedream When It Works in the Wix Dev Environment?

I know. I confused you. Sorry!

So are you trying to retrieve a specific site?

Yes, I’m trying to retrieve a collection from a specific site

The link you sent me was the correct one

I believe you’ll need to find the Collection ID first from the specific site. I’m not sure if 487b1f69-2826-4293-b9cb-0559304f7ab7 is associated with the site or with the collection

That is the site id, not the collection. When I look at the collections data, I’m not able to find an id.

That’s the issue, you can’t pass a site ID to a collection endpoint. You’ll need to first find the specific collection’s ID from the list collections endpoint, or perhaps through the shop’s details endpoint

I’m looking at data from a successful get from the Wix API dev and I’m not seeing a Collection ID

I’ve been rolling around in their data and docs and it doesn’t seem like they keep an id for collections, which is… odd. Just a string name.

In the example response, the collection ID is Recipes

I might be just missing it

I’ve used that too

I’ve tried id and Recipes in the parameters. Doesn’t work

But in your example from earlier, you were passing an ID as a query parameter, not as a URL route parameter. Have you tried that instead?

https://www.wixapis.com/wix-data/v2/collections/Recipes

Ah. Let me try that

Didn’t like that

Also tried with id in the parameters

Is it the same error as before? Or a different one?