Big b64 call fragmented? #1703
Unanswered
Christoph-AK
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Nothing immediately comes to mind. Does the base64 string look the same as the case when it succeeds? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there, I'm just grasping at straws here, but I am currently writing a custom connector for the shopify API using reqwest.
Mostly this works perfectly, but when uploading custom collection image data to shopify the image doesn't get transferred correctly.
In the response shopify identified the height and width of the image correctly, so some data is transferred correctly, but the image doesn't show up. At first I thought 'clear case, something wrong with the image data or shopify api', but if I send the exact same request with the Thunder Client Vscode-Extension the image shows up. This is 100% reproducible for me.
The same structure works for all other api calls.
Doc: https://shopify.dev/api/admin-rest/2022-10/resources/customcollection
The image is converted as b64 and put in the attachment-object in the body.
Failing example request body: https://gist.github.com/Christoph-AK/954a130765bc9c6261c9993a55139d77
Image data is around 1.5MB.
Is this in any way a known problem? Is there any config to make this work?
Code:
Beta Was this translation helpful? Give feedback.
All reactions