You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to retrieve the expected ticket using the search query with the query field ticket_attribute.{id}
Actual behavior
After several attempts, I'm not able to search a ticket using the client.post method.
For some reason, when passing the ticket_attribute. plus a specific attribute (even the default one), I'm getting an error.
Steps to reproduce
After the installation, token configuration, and environment settings completed
Requesting the ticket
import{Operators}from"intercom-client";consttickets=awaitintercomClient.post({url: `${env.INTERCOM_API_BASE_URL}/tickets/search`,data: {query: {field: "ticket_attribute.id",// The `id` is a custom attribute created in the workspaceoperator: Operators.EQUALS,value: ATTRIBUTE_ID_VALUE,// The `ATTRIBUTE_ID_VALUE` is a UUID string generated in a previous operation},},});
Logs
Error: The requested ticket attribute ID is not a valid integer
=====
[
{
code: 'field_not_found',
message: 'The requested ticket attribute ID is not a valid integer'
}
]
Version info
^5.0.0
v21.2.0
Expected behavior
Being able to retrieve the expected ticket using the search query with the query field
ticket_attribute.{id}
Actual behavior
After several attempts, I'm not able to search a ticket using the
client.post
method.For some reason, when passing the
ticket_attribute.
plus a specific attribute (even the default one), I'm getting an error.Steps to reproduce
Logs
The text was updated successfully, but these errors were encountered: