All things Shopify and commerce
searched the forum, internet and everywhere else but I cannot seem to figure this out.
I am trying to upload files from my computer to shopify via the FILES API. But after confirming that I do indeed have the correct API key, access and proper code, I keep getting the 404 error.
The code briefly worked for 5 files then stopped and never allowed me to do it again.
Even a quick test of:
def test_files_api():
url = f"{SHOPIFY_STORE_URL}/admin/api/{API_VERSION}/files.json"
response = requests.get(url, headers=headers)
if response.status_code == 200:
print("Files API Connection Successful!")
print("Existing Files:", response.json())
elif response.status_code == 404:
print("404 Not Found: The Files API is unavailable.")
else:
print(f"Error {response.status_code}: {response.text}")
test_files_api()
gives me a 404 error...
any help would be appreciated.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024