Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Get data from GraphQL API in Alteryx Desktop

Ahmadhadji
5 - Atom

Fact bird Graph QL API

Documentation of process: 

________________________

To communicate with our API the following headers must be provided:

Accept: application/json
Content-Type: application/json
Authorization: <api-token>

To request an API token, contact our support on the mail listed to the right. (i have the token) :) 

API EndPoint: https://api.cloud.factbird.com

__________________

What is going wrong here? Se my screenshot:

ERROR.jpg

 

 

4 REPLIES 4
Ahmadhadji
5 - Atom

Need help on this issue, since i am not sure whether this is a network issue or my confiq

alexnajm
17 - Castor
17 - Castor

I am pretty sure they need to go into the Payload tab based on it being mentioned in the docs: Factbird GraphQL API

apathetichell
19 - Altair

the message says your json ins't formatted correctly. specifically the first character is wrong. it's expecting json in the {

"key":"value"

format.

 

400 is often a formatting issue --- this can be what's supplied in an oauth token request, whether or not a value is url encoded or not -- or payload. Make sure your URL is encoded and check out the json in your payload.

Deano478
12 - Quasar

@Ahmadhadji I would recommend you test on Postman before going into Alteryx so you can create variables for tokens and test more efficiently  

Labels