Closed pcwa-ahendricks closed 1 year ago
Thanks for the report. We are looking into this.
Actually, I'm unable to query using id with curl as well (ex. below returns 404), so maybe this isn't directly related to the @cosmicjs/sdk package.
curl https://api.cosmicjs.com/v3/buckets/BUCKET_NAME/media \
-d read_key=READ_KEY \
--data-urlencode query='{"id":"64f0b2cd513ef413daf6bee7"}' \
-d props=id,name,imgix_url,metadata \
-G
@pcwa-ahendricks pushed fixes to the API. Can you check if that resolves your issue?
@jazibsawar Still getting {"status":404,"message":"No media found in bucket 'BUCKET_NAME'"}% when using curl
@pcwa-ahendricks can you please contact support so we look into the issue?
@pcwa-ahendricks this should now be fixed. Please test and let me know if there are any issues. I'll go ahead and close this.
I'm able to query single media objects using the following syntax:
and so on.. but, I'm unable to use "id" as a param, for example, the following returns a 404 when I use a valid/present ID