We got some issue while hitting the APIs using FDK. Its returning correct response while using postman and returning different response while using the FDK. This is a critical issue to our customers. Can someone help me with this?
Below is the snippet from request.json
{ "getFsuAccount":{
"schema": {
"protocol": "https",
"method": "GET",
"host": "<%= iparam.freshsuccess_url %>",
"path": "/api/v2/accounts/<%= context.account_id %>",
"headers": {
"Content-Type": "application/json"
},
"query": {
"api_key": "<%= iparam.freshsuccess_token %>"
}
}
}
}
Response for the above api:
{
“status”: 200,
“headers”: {
“date”: “Thu, 20 Nov 2025 06:57:28 GMT”,
“content-type”: “application/json;charset=UTF-8”,
“transfer-encoding”: “chunked”,
“connection”: “close”,
“set-cookie”: [
“JSESSIONID=A47E4AA5137B63C1F55320E0347416D1; Path=/; Secure; HttpOnly”
],
“vary”: “accept-encoding”,
“x-envoy-upstream-service-time”: “67”,
“x-trace-id”: “00-1737e4a224e33b7835aae0965161e441-499438640ff97431-00”,
“nel”: “{ "report_to": "nel-endpoint-freshsuccess", "max_age": 2592000, "include_subdomains": true}”,
“report-to”: "{ "group": "nel-endpoint-freshsuccess", "max_age": 2592000, "include_subdomains": true, "endpoints": [{"url": "``https://edge-admin.eu-central-1.freshedge.net/nelreports/freshsuccess\“``}]}”,
“x-server-processing-time-ms”: “67”,
“server”: “fwe”,
“x-request-id”: “f4321e2c-c33c-4359-a68e-2fc2f3201ee7”
},
“response”: “{"results":[{"account_id":"freshservice - 487529","name":"LaParrilla (freshservice - 487529)","crm_account_id":null,"billing_account_id":null,"support_account_id":null,"parent_account_id":null,"billing_street":null,"billing_city":null,"billing_state":null,"billing_postal_code":null,"billing_country":null,"phone":null,"description":null,"employees":null,"industry":null,"is_active":true,"is_churned":false,"inactive_time":null,"inactive_reason":null,"tier":null,"csm_score":null,"current_stage":"active","current_mrr":40300,"current_nps_score":null,"current_health_score":null,"renewal_date":1783972556000,"sales_rep_name":null,"sales_rep_email":null,"source":"chargebee","join_date":1720900556000,"hierarchy_label":null,"hierarchy_level":0,"latest_status_title":null,"latest_status_details":null,"latest_status_date":null,"type":null,"website":null,"modify_time":1761723284308,"product":null,"region":null,"churn_likelihood":null,"projected_churn_date":null,"projected_churn_mrr":null,"churn_reason_category":null,"churn_reason_subcategory":null,"churn_reason_item":null,"natero_url":"``https://freshworkstest.success.freshworks.com/accounts.html?account_id=367086\",\“custom_label_dimensions\”:{\"Auto`` Collection":"on","cb_account_url":"``https://freshservice.chargebee.com/admin-console/subscriptions/487529\",\"Chargebee`` billing city":"Marietta","Chargebee billing country":"US","Chargebee billing postal-code":"30066","Chargebee billing state":"Georgia","Chargebee billing street":"1306 Cobb Industrial Drive","Chargebee Currency":"USD","Chargebee Currency Value":"403.0 USD ","Chargebee ``Email":"dcalderon_AT_laparrilla.com@example.com``","Chargebee First Name":"Jeremy","Chargebee Last Name":"Heard","FME ID1":"C-82001537504","FME ID2":"A-82001537505","start_up_account":"No","Subscription plan name":"Growth Annual"},"custom_value_dimensions":{"Plan quantity":7.0},"custom_event_dimensions":{},"assigned_csms":,"stage_history":[{"name":"active","start_date":1748543518314,"end_date":null}],"nps_history":,"documents":}],"current_page":0,"max_page_size":1000,"status_is_ok":true}”,
“attempts”: 1
}