Hi,
I’m checking if anybody has an idea ?
Issue Identified:
A developer encountered problems downloading bulk operation data from Shopify. After receiving a completed webhook status and requesting the download URL, attempts to access it via browser or .NET HttpClient failed with a 400 Bad Request error.
Root Cause:
The URL returned by Shopify in the webhook response (data.node.url) was malformed, containing spaces and line breaks that prevented proper access.
Resolution:
User ‘agis’ solved the issue by cleaning the URL using JavaScript:
var cleanedUrl = url.replace(/\n|\r|\s/g,'');
Removing the whitespace and line break characters from the URL string allowed successful data download. The discussion appears resolved with this workaround.
Hi,
I’m checking if anybody has an idea ?