How to download signed URL JSON data using GraphQL currentBulkOperation

I have used the following GraphQL query toretrievethe bulk operation data

currentBulkOperation { id
status
errorCode
createdAt
completedAt
objectCount
fileSize
url
partialDataUrl
}
}

I have got the positive response with URL but the URL contains some signature and other data. When I paste the URL in chrome browser i am getting the following response

Error

Code InvalidBucketName Code
Message The specified bucket is not valid. Message
Details Bucket name is required if object name is specified Details

/Error

How to parse the URL to get the proper data?

Hi @sivasankar

The error could be due to the backslash (escape character) which is in the url, please try removing that when accessing the URL.

If you’re still experiencing issues, we’re going to need a little more info - could you please fill out the Report an Issue form found under the Partners Support section? Any additional information you can provide around this issue would be very helpful including the URL that isn’t working, the shop and the id of the bulk operation you’re attempting to retrieve. Thanks!

1 Like

This solution worked for me.

1 Like