Sync alphalib #52
integration.yml
on: push
Matrix: test
slack-on-failure
4s
Annotations
3 errors
test/integration/live-api.test.ts > API integration > assembly notification > should replay the notification when requested:
src/Transloadit.ts#L763
ApiError: API error (HTTP 400) ASSEMBLY_NOTIFICATION_NOT_REPLAYED: The Assembly notification could not be replayed.
❯ Transloadit._remoteJson src/Transloadit.ts:763:17
❯ onNotification test/integration/live-api.test.ts:665:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { rawMessage: 'The Assembly notification could not be replayed.', assemblyId: undefined, assemblySslUrl: undefined, code: 'ASSEMBLY_NOTIFICATION_NOT_REPLAYED' }
Caused by: Caused by: HTTPError: Response code 400 (Bad Request)
❯ Request.<anonymous> node_modules/got/dist/source/as-promise/index.js:118:42
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_NON_2XX_3XX_RESPONSE', request: { _readableState: { state: 322582, highWaterMark: +0, buffer: { head: null, tail: null, length: +0, constructor: 'Function<BufferList>', push: 'Function<push>', unshift: 'Function<unshift>', shift: 'Function<shift>', clear: 'Function<clear>', join: 'Function<join>', concat: 'Function<concat>', consume: 'Function<consume>', first: 'Function<first>', _getString: 'Function<_getString>', _getBuffer: 'Function<_getBuffer>' }, length: +0, pipes: [], flowing: null, errored: { stack: 'HTTPError: Response code 400 (Bad Request)\n at Request.<anonymous> (/home/runner/work/node-sdk/node-sdk/node_modules/got/dist/source/as-promise/index.js:118:42)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)', message: 'Response code 400 (Bad Request)', name: 'Caused by: Caused by: HTTPError', code: 'ERR_NON_2XX_3XX_RESPONSE', request: [Circular], response: { _readableState: { state: 325910, highWaterMark: 16384, buffer: { head: null, tail: null, length: +0, constructor: 'Function<BufferList>', push: 'Function<push>', unshift: 'Function<unshift>', shift: 'Function<shift>', clear: 'Function<clear>', join: 'Function<join>', concat: 'Function<concat>', consume: 'Function<consume>', first: 'Function<first>', _getString: 'Function<_getString>', _getBuffer: 'Function<_getBuffer>' }, length: +0, pipes: [], flowing: false, errored: null, defaultEncoding: 'utf8', awaitDrainWriters: null, decoder: null, encoding: null, constructor: 'Function<ReadableState>', objectMode: false, ended: true, endEmitted: true, reading: false, constructed: true, sync: false, needReadable: false, emittedReadable: false, readableListening: true, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, destroyed: true, closed: true, closeEmitted: true, multiAwaitDrain: false, readingMore: false, dataEmitted: true, pipesCount: +0, paused: true }, _events: { end: 'Function<responseOnEnd>', aborted: [ 'Function<bound onceWrapper>', 'Function<bound onceWrapper>' ], error: 'Function<bound onceWrapper>', readable: 'Function<anonymous>' }, _eventsCount: 4, _maxListeners: undefined, socket: { _tlsOptions: { allowHalfOpen: undefined, pipe: false, secureContext: { context: { init: 'Function<init>', setKey: 'Function<setKey>', setCert: 'Function<setCert>', addCACert: 'Function<addCACert>', addCRL: 'Function<addCRL>', addRootCerts: 'Function<addRootCerts>', setCipherSuites: 'Function<setCipherSuites>', setCiphers: 'Function<setCiphers>', setSigalgs: 'Function<setSigalgs>', setECDHCurve: 'Function<setECDHCurve>', setDHParam: 'Function<setDHParam>', setMaxProto: 'Function<setMaxProto>', setMinProto: 'Function<setMinProto>', getMaxProto: 'Function<getMaxProto>', getMinProto: 'Function<getMinProto>', setOptions: 'Function<setOptions>', setSessionIdContext: 'Function<setSessionIdContext>', setSessionTimeout: 'Function<setSessionTimeout>', close: 'Function<close>', loadPKCS12: 'Function<loadPKCS12>', setTicketKeys: 'Function<setTicketKeys>', enableTicketKeyCallback: 'Function<enableTicketKeyCallback>', getTicketKeys: 'Function<getTicketKeys>', getCertificate: 'Function<getCertificate>', getIssuer: 'Function<getIssuer>', setEngineKey: 'Function<setEngineKey>', setClientCertEngine: 'Function<setClientCertEngine>', _external: {}, constructor: 'Function<SecureContext>' }, constructor: 'Function<SecureContext>' }, isServer: false, requestCert: true, rejectUnauthorized: true, session:
|
test/integration/live-api.test.ts > API integration > template methods > should allow editing a template:
src/Transloadit.ts#L763
ApiError: API error (HTTP 400) TEMPLATE_VALIDATION_ERROR: ER_DUP_ENTRY: Duplicate entry '9223372036854775807' for key 'PRIMARY'
❯ Transloadit._remoteJson src/Transloadit.ts:763:17
❯ test/integration/live-api.test.ts:712:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { rawMessage: 'ER_DUP_ENTRY: Duplicate entry \'9223372036854775807\' for key \'PRIMARY\'', assemblyId: undefined, assemblySslUrl: undefined, code: 'TEMPLATE_VALIDATION_ERROR' }
Caused by: Caused by: HTTPError: Response code 400 (Bad Request)
❯ Request.<anonymous> node_modules/got/dist/source/as-promise/index.js:118:42
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_NON_2XX_3XX_RESPONSE', request: { _readableState: { state: 322582, highWaterMark: +0, buffer: { head: null, tail: null, length: +0, constructor: 'Function<BufferList>', push: 'Function<push>', unshift: 'Function<unshift>', shift: 'Function<shift>', clear: 'Function<clear>', join: 'Function<join>', concat: 'Function<concat>', consume: 'Function<consume>', first: 'Function<first>', _getString: 'Function<_getString>', _getBuffer: 'Function<_getBuffer>' }, length: +0, pipes: [], flowing: null, errored: { stack: 'HTTPError: Response code 400 (Bad Request)\n at Request.<anonymous> (/home/runner/work/node-sdk/node-sdk/node_modules/got/dist/source/as-promise/index.js:118:42)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)', message: 'Response code 400 (Bad Request)', name: 'Caused by: Caused by: HTTPError', code: 'ERR_NON_2XX_3XX_RESPONSE', request: [Circular], response: { _readableState: { state: 325910, highWaterMark: 16384, buffer: { head: null, tail: null, length: +0, constructor: 'Function<BufferList>', push: 'Function<push>', unshift: 'Function<unshift>', shift: 'Function<shift>', clear: 'Function<clear>', join: 'Function<join>', concat: 'Function<concat>', consume: 'Function<consume>', first: 'Function<first>', _getString: 'Function<_getString>', _getBuffer: 'Function<_getBuffer>' }, length: +0, pipes: [], flowing: false, errored: null, defaultEncoding: 'utf8', awaitDrainWriters: null, decoder: null, encoding: null, constructor: 'Function<ReadableState>', objectMode: false, ended: true, endEmitted: true, reading: false, constructed: true, sync: false, needReadable: false, emittedReadable: false, readableListening: true, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, destroyed: true, closed: true, closeEmitted: true, multiAwaitDrain: false, readingMore: false, dataEmitted: true, pipesCount: +0, paused: true }, _events: { end: 'Function<responseOnEnd>', aborted: [ 'Function<bound onceWrapper>', 'Function<bound onceWrapper>' ], error: 'Function<bound onceWrapper>', readable: 'Function<anonymous>' }, _eventsCount: 4, _maxListeners: undefined, socket: { _tlsOptions: { allowHalfOpen: undefined, pipe: false, secureContext: { context: { init: 'Function<init>', setKey: 'Function<setKey>', setCert: 'Function<setCert>', addCACert: 'Function<addCACert>', addCRL: 'Function<addCRL>', addRootCerts: 'Function<addRootCerts>', setCipherSuites: 'Function<setCipherSuites>', setCiphers: 'Function<setCiphers>', setSigalgs: 'Function<setSigalgs>', setECDHCurve: 'Function<setECDHCurve>', setDHParam: 'Function<setDHParam>', setMaxProto: 'Function<setMaxProto>', setMinProto: 'Function<setMinProto>', getMaxProto: 'Function<getMaxProto>', getMinProto: 'Function<getMinProto>', setOptions: 'Function<setOptions>', setSessionIdContext: 'Function<setSessionIdContext>', setSessionTimeout: 'Function<setSessionTimeout>', close: 'Function<close>', loadPKCS12: 'Function<loadPKCS12>', setTicketKeys: 'Function<setTicketKeys>', enableTicketKeyCallback: 'Function<enableTicketKeyCallback>', getTicketKeys: 'Function<getTicketKeys>', getCertificate: 'Function<getCertificate>', getIssuer: 'Function<getIssuer>', setEngineKey: 'Function<setEngineKey>', setClientCertEngine: 'Function<setClientCertEngine>', _external: {}, constructor: 'Function<SecureContext>' }, constructor: 'Function<SecureContext>' }, isServer: false, requestCert: true, rejectUnauthorized: tr
|
test (18)
Process completed with exit code 1.
|