Closed DoboszKacper closed 1 year ago
Of course, there is no problem with connecting to shopify, this I tested. The only problem I found was creating an example product.
Okay resolved this issue, in partner site shop had set different subdomian that provided in sdk. Both subdomains were referencing the same site, but only one had partners access to create products.
ShopifySdk shopifySdk = ShopifySdk.newBuilder() .withSubdomain("example") .withAccessToken("example_api") .withApiVersion("2023-07") .build();
Hi, I am trying to run tests for example product. But what i get is 406 from shopify. Do you know what i might be doing wrong?
Error:
[main] WARN com.shopify.exceptions.ShopifyErrorCodeFactory - Could not parse error message from shopify for response body: com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input com.shopify.exceptions.ShopifyErrorResponseException: Received unexpected Response Status Code of 406
Code: