Forum Discussion
OlivierS
Lithium Alumni (Retired)
Just a guess here. Have you tried:
<#assign org = response_getUser.user.organization_id />
instead of:
<#assign org = response_getUser.content.user.organization_id />
perk
10 years agoAdept
Good guess, but no it didn't work :(
The following has evaluated to null or missing: ==> response_getUser.user [in template "retrieve-org-zendesk.ftl" at line 23, column 40]
Is there a way to debug this? I don't know how to view what response_getUser is which can help figure out how to retrieve the values. I am not too familiar with how this freemarker template works that was built by Lithium for us. We don't have documentation on this too.
- OlivierS10 years agoLithium Alumni (Retired)
perk have you tried:
<#assign response_getUser = http.client.request(url_getUser).header("Authorization", "Bearer "+ response.content.access_token).json().get().content />
Per the Freemarker http.client response context object documentation, it should return the content of the HTTP client response.
Related Content
- 7 years ago
- 9 years ago