We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createDataAttribute for a contact is broken
For feature requests please contact us at [email protected]
200 OK with the creation of the attribute
Error: Server Error at new BadResponseError (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/errors/badResponse.error.js:22:28) at Client.checkOnErrorInResponse (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:308:16) at Client. (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:218:36) at step (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:52:23) at Object.throw (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:33:53) at rejected (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:25:65) at processTicksAndRejections (node:internal/process/task_queues:96:5) { body: { type: 'error.list', request_id: '0003pkg9bkp3mqbd9970', errors: [ { code: 'server_error', message: 'Server Error' } ] }, headers: { date: 'Thu, 07 Dec 2023 11:34:16 GMT', 'content-type': 'application/json; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'close', status: '500 Internal Server Error', 'x-ratelimit-limit': '5000', 'x-ratelimit-reset': '1701948861', vary: 'Accept,Accept-Encoding', 'x-ratelimit-remaining': '5000', 'x-intercom-version': '9414fdcdc6a6fcf725ece9df5c77bb92f6b87a64', 'x-request-id': '0003pkg9bkp3mqbd9970', 'x-frame-options': 'SAMEORIGIN', 'cache-control': 'no-cache', 'strict-transport-security': 'max-age=31556952; includeSubDomains; preload', 'x-xss-protection': '1; mode=block', 'x-request-queueing': '0', 'intercom-version': '2.1', 'x-runtime': '0.096447', 'x-content-type-options': 'nosniff', server: 'nginx' }, statusCode: 500 }
The text was updated successfully, but these errors were encountered:
Eclairemoy
No branches or pull requests
createDataAttribute for a contact is broken
For feature requests please contact us at [email protected]
Version info
Expected behavior
200 OK with the creation of the attribute
Actual behavior
Error: Server Error
at new BadResponseError (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/errors/badResponse.error.js:22:28)
at Client.checkOnErrorInResponse (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:308:16)
at Client. (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:218:36)
at step (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:52:23)
at Object.throw (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:33:53)
at rejected (/Users/elizabethmoy/Documents/zendesk_prototyping/final_examples/import_tickets/sdk test/node_modules/intercom-client/dist/client.js:25:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
body: {
type: 'error.list',
request_id: '0003pkg9bkp3mqbd9970',
errors: [ { code: 'server_error', message: 'Server Error' } ]
},
headers: {
date: 'Thu, 07 Dec 2023 11:34:16 GMT',
'content-type': 'application/json; charset=utf-8',
'transfer-encoding': 'chunked',
connection: 'close',
status: '500 Internal Server Error',
'x-ratelimit-limit': '5000',
'x-ratelimit-reset': '1701948861',
vary: 'Accept,Accept-Encoding',
'x-ratelimit-remaining': '5000',
'x-intercom-version': '9414fdcdc6a6fcf725ece9df5c77bb92f6b87a64',
'x-request-id': '0003pkg9bkp3mqbd9970',
'x-frame-options': 'SAMEORIGIN',
'cache-control': 'no-cache',
'strict-transport-security': 'max-age=31556952; includeSubDomains; preload',
'x-xss-protection': '1; mode=block',
'x-request-queueing': '0',
'intercom-version': '2.1',
'x-runtime': '0.096447',
'x-content-type-options': 'nosniff',
server: 'nginx'
},
statusCode: 500
}
Steps to reproduce
async function createContactAttribute() {
const response = await client.dataAttributes.create({
name: 'test',
model: Intercom.ModelType.COMPANY,
data_type: Intercom.DataType.STRING,
description: 'test',
options: [{ value: 'yey' }, { value: 'yoy' }]
});
console.log(response)
}
Logs
The text was updated successfully, but these errors were encountered: