Custom Apps - can't pass token from CONNECTION to BASE

Hi everyone,

I’m trying to set up a custom app connection to Cegid Business API in Make. The authentication request works and returns the following response:
{
“token”: “eyJhbGciOiJSUzI1NiIsImtpZCI6…”,
“expireIn”: 3600
}
In my connection’s response.output, I have:
“response”: {
“output”: {
“token”: “{{body.token}}”
}
}
Then in my modules, I use:
Authorization: Bearer {{connection.token}}

However, {{connection.token}} always comes back as empty.

I’ve already verified that the key is correctly spelled as token (lowercase)

What am I missing here ?

Apparently, from a connection, data should be exposed using the “data” block not the “output” block but still I can’t retrieve the token

Hi Zainab. Your best route would be to open a support ticket from the “?” icon at the lower left of the Make window.

Select “Custom Apps” and follow the prompts. Your ticket will be routed to our Custom Apps team for a response.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.