No content to show
User Activity
12-01-2023
Yeah... It helps, thank you, but that's looks like very big issue. First of all it shouldn't work this way and it wasn't described in the docs...I believe, waiting process should be on your side
11-30-2023
And i'm using second request because fileCreate returns nothing
11-30-2023
When I've created files I want to save links. But if I request files immediately, I don't have urls in the response. But if I use setTimeut, I get them!!!!!There's the code:const createFiles = async (files, stagedTargets, graphql) => { const respo...
I've foud a lot of similar topics, but no one has answer. That forum is very useful (no)
I've found solution, but I'm not sure it works good...In Shopify parniers I went to apps/my app/app setup, and made redirect to app url, that I coped above, but this url is changing all the time. How can I lock it?
11-19-2023
Hi everyone.I'm new to Shopify and maybe my questions will be illogical or strange. I've read all the documentation, but there are a lot of white spots and often I just can't find the information I need.I'm creating an application where the user can ...
10-25-2023
Ok, this code works. I hope it will be usefull:// sopify.app.tomlscopes = "read_products,write_products,write_files,read_files,read_themes,write_themes"// components/filesUploader.jsxconst handleDropZoneDrop = useCallback(async (_dropFiles, acceptedF...
10-22-2023
I've found the solution. This code works, but not for video files. When I'm uploading video files, I have an error: "No content"import {fetch, FormData} from "@remix-run/node";const prepareFiles = (files) => files.map((file) => ({ filename: file.nam...
10-21-2023
Thanks! I have no idea how, but I've fifxed it. But now I have a second problem.Here's my code:const prepareFiles = (files) => files.map(file => ({ filename: file.name, mimeType: file.type, resource: 'IMAGE', fileSize: file.size.toString(),}));co...
10-17-2023
I'd like to use postman, but I have no idea what I need to put in the headers, and which endpoint I should use ((There's my shopify config, did I miss something# Learn more about configuring your app at https://shopify.dev/docs/apps/tools/cli/configu...
10-17-2023
Hey, thank you for your attention to my topic!here's my scope:[access_scopes]# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopesscopes = "read_products,write_products,write_files,read_files"When I didn't have some perm...
10-16-2023
Hey, I'm trying to upload the media with graphql. I read all the docs and this article: https://shopify.dev/docs/apps/online-store/media/products#step-1-upload-media-to-shopify .There's my file.server.js:export const uploadFile = async (graphql) => {...
To upload files, I needed to add permissions to scope in "shopify.app.toml" scopes = "write_products,read_files,write_files"
10-14-2023
Hey, I'm tring to create an app with remix, but I can't upload files. import { unstable_parseMultipartFormData, unstable_createMemoryUploadHandler } from "@remix-run/node";
import { uploadFile } from "~/models/file.server";
import { authenticate } fr...
Hey, I'm studing shopify and remis and I don't understand how is useActionData working.There's the code:import {useState} from "react";import { json } from "@remix-run/node";import { Page, Layout, EmptyState,} from "@shopify/polaris";import Produc...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
6729 | 10-25-2023 07:03 PM | |
1374 | 10-15-2023 05:45 PM |