For some reason a very simple REST API call to Shopify Admin API is not working. It is a simple GET method call with the complete URL to fetch list of products, the URL works directly on Chrome, it works fine with Xano but for some reason it is working with Backendless.
This is the platform I want to use as there are multiple things which this platform provides but I’m stuck at the very first step itself. Please help.
Can you describe *not working" in more details?
Do you make a call from cloud code or UI builder?
Have you verified that a call is made?
Are you having problem processing the response?
Are you logging any errors?
I’m using Codeless “GET” method and sending the URL in “Path”. I’m not using UI builder, just creating API endpoints for now. I don’t think processing is an issue here, I’m not sure about the “whether the call is made” - but I guess it is getting called.
Upon invoking, I’m getting the below error response:
{
“code”: 0,
“message”: “{“errors”:”[API] Invalid API key or access token (unrecognized login or wrong password)"}",
“errorData”: {}
}
Also, the same configuration and URL works fine with Chrome Tabs and Xano backend.
Yes it is coming from Shopify I guess - I cannot be sure though but I’ve seen similar error on chrome and Xano while trying to ping their graphql endpoints.
But this one is RESt endpoint.
Yeah but that is not the case because the same URL works fine with Chrome as well as Xano - so authentication is fine I guess, the trouble I guess is Shopify returning an invalid error or it is to do with the UTF8 encoding wherein shopify is unable to read the URL as intented - I’m not sure though.
I would like to see the link for the specific Shopify API you’re using. The main API documentation link you provided is not helpful at all, unfortunately.
Worked like a charm @mark-piller - This right here is the very reason I want to use Backendless as compared to any other BaaS solutions in the market, the community is so strong and supportive it is unparalleled. Thank you so much for this!