Solved

Some "DATA METHODS" are not working

  • 8 July 2021
  • 1 reply
  • 17 views

I’m testing my application in production (Custom Apps). I try to execute:

 

client.data.get('ticket')

client.data.get('contact')

 

It returns an error:  {message: "Invalid attribute provided."}

However I’m able to execute

 

 

client.data.get('loggedInUser')

client.data.get('domainName')

 

Please help me resolve this

 

Thank you.
 

icon

Best answer by hemanth.ramya 8 July 2021, 14:04

Hello @websetgo,

 

For your requirements on the custom app, can you please help us with the code snippet you are using for ticket and contact object? Please refer to the documentation to get detailed insights on how to use the same: https://developers.freshdesk.com/v2/docs/data-methods/#ticket_details_page_methods

Feel free to drop a note here or reply to the ticket raised and one of our experts would get back to you on this issue. 

 

Thank you,

Freshdesk Community Team

 

View original

1 reply

Userlevel 3

Hello @websetgo,

 

For your requirements on the custom app, can you please help us with the code snippet you are using for ticket and contact object? Please refer to the documentation to get detailed insights on how to use the same: https://developers.freshdesk.com/v2/docs/data-methods/#ticket_details_page_methods

Feel free to drop a note here or reply to the ticket raised and one of our experts would get back to you on this issue. 

 

Thank you,

Freshdesk Community Team

 

Reply