Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Error when connecting to REST API with Alteryx Designer

jieunlee
5 - Atom

Hi Everyone,

 

When I get data using Naver API with download tool, it errors like {"errMsg":"SyntaxError: Unexpected token s","errId":"2020-09-17T17:32:51+09:00/309635588-906718936","body":"startDate=2017-01-01&endDate=2017-04-30&timeUnit=month&keywordGroups=employment&keywordGroups.groupName=employment&keywordGroups.keywords=employment"}

Continuosly occurs SyntaxError : Unexpected token s

 

Does anyone know how can i fix it?

Refer to Naver API Developers center I put variables, url, headers, payload but don't know how to do it.

 

Thank you,

Jieun

2 REPLIES 2
carrjc2
7 - Meteor

Hi @jieunlee 

 

You can take a look at this partner tool, it works quite well for accessing API's and adding the data into a Designer workflow via a macro as tables.

 

https://community.alteryx.com/t5/Analytics/Precog-Alteryx-A-Slam-Dunk-Analytics-Partnership/ba-p/465...

 

Just a note, the post mentions a free version, we don't offer that any longer, but we can provide trial.

 

Hope it helps

JC

mutama
Alteryx Alumni (Retired)

Hi @jieunlee ,

 

I am pleased to announce that I have successfully built the Naver Search API macro, downloadable from the Alteryx Public Gallery here: https://gallery.alteryx.com/#!app/Naver-Search-API/5f6771da0462d7063cdb503d

 

Your workflow should look something like the pic that has been attached, where the JSON_Name & JSON_ValueString contains the relevant Search information that's returned from your query (e.g. ProductID, Price, Mall Name etc).

 

Hope this helps! 🙂

 

Labels