Josh Boddiford
Posts: 0
Joined: Mon Nov 05, 2012 2:01 pm

Authentication with Shopify REST API - Not Working

I am trying to build an app (since my other app is also waiting on a REST API fix) and I've run into yet another problem with the REST Service component. I'm hoping there is a quick fix for this since it's been noted on here as a problem 12 months ago (no resolution noted on the topic)

I'm basically trying to authenticate the REST API over to the Shopify oAuth API which should be really simple. I can copy and paste the HTTPS request into a browser window and I get back the JSON or XML result set... so I tried putting this into the Tiggzi REST service and it's giving me an Invalid Username or API key error.

Here is the error. I just upgraded my Tiggzi account to PRO in hopes of some better/faster support... hoping you guys can meet my expectations here. This is frustrating.... I will again share my project with support@tiggzi.com

Thanks,
Josh

URL: https://1c14f7acec5508869e01258a1334a...
Method: get
Data Type: json
Content Type:
Security Context: 0
Request header parameters: none
Request body parameters: none

Error message:
GET https://1c14f7acec5508869e01258a1334a...? returned a response status of 401 Unauthorized

Server response:

[API] Invalid API key or access token (unrecognized login or wrong password)

Josh Boddiford
Posts: 0
Joined: Mon Nov 05, 2012 2:01 pm

Authentication with Shopify REST API - Not Working

Here's a link to Shopify's API Documentation... http://api.shopify.com/legacy_authent...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Authentication with Shopify REST API - Not Working

I think they are using Basic Authentication - here is how to set it up: http://docs.tiggzi.com/documentation/...

Josh Boddiford
Posts: 0
Joined: Mon Nov 05, 2012 2:01 pm

Authentication with Shopify REST API - Not Working

OK, I followed the directions but i'm still stuck... as I can't fill in the RESPONSE structure because I keep getting that same error. I have nothing to map the data to in the Mapping area so I can't even put it on the page.

Can you help me figure this out by opening up my app?

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Authentication with Shopify REST API - Not Working

Hello! We'll take a look

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Authentication with Shopify REST API - Not Working

Please try to change service URL to https://accbio.myshopify.com/admin/or...

Create Header parameter "Authorization" and value "Basic MWMxNGY3YWNlYzU1MDg4NjllMDEyNThhMTMzNGFlMWE6MzU5MGMwZTlmODllNzllMTdlYWVkMzk1ZjNhYmM2ZWQ=" - it's a text "1c14f7acec5508869e01258a1334ae1a:3590c0e9f89e79e17eaed395f3abc6ed" in Base64 format

Return to “Issues”