A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello, i got a problem i create upload files for my themes all work good for liquid css js etc but when it s a json file it s crash, I use this api
const asset = new shopify.rest.Asset({session: session});
I try with multiples Json and all time this issue
Received an error response (400 Bad
Request) from Shopify:
{
}
"value": "expected Hash to be a String"
If you report this error, please include this id:
312c4c8e-1979-47e5-82ce-2acc2cf349ed'.
or Expected array to a string
Thanks for your help
Solved! Go to the solution
This is an accepted solution.
I use this code` @ShopifyDevSup
This is an accepted solution.
I use this code` @ShopifyDevSup