Skip to content
New issue

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

[Bug]: Unclear error while trying to query a document for a view #450

Open
Nesqwik opened this issue Sep 12, 2023 · 0 comments
Open

[Bug]: Unclear error while trying to query a document for a view #450

Nesqwik opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Nesqwik
Copy link
Member

Nesqwik commented Sep 12, 2023

What happened?

I'm using the flutter-template with JSON View, when i try to query a document, i got a very cryptic error.

export const jsonRoutes = [
    {
        path: "/counter",
        view: View(views.json.counter).data(DataApi.collectionName(Counter), { user: '@me' })
    },
];

Interesting apps logs :

lenra-app-1  | 2023/09/12 10:48:37 stderr:     method: 'post',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     url: 'http://devtool:4001/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     data: '{"user":"global"}'
...
lenra-app-1  | 2023/09/12 10:48:37 stderr:     data: { message: 'Internal Server Error', reason: 'format error' }

The only hint i got is "format error"

What browsers are you seeing the problem on?

No response

Version

devtool:beta

Relevant log output

lenra-app-1  | 2023/09/12 10:48:37 stderr: [AxiosError: Request failed with status code 500] {
lenra-app-1  | 2023/09/12 10:48:37 stderr:   code: 'ERR_BAD_RESPONSE',
lenra-app-1  | 2023/09/12 10:48:37 stderr:   config: {
lenra-app-1  | 2023/09/12 10:48:37 stderr:     transitional: {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       silentJSONParsing: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       forcedJSONParsing: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       clarifyTimeoutError: false
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     adapter: [Function: httpAdapter],
lenra-app-1  | 2023/09/12 10:48:37 stderr:     transformRequest: [ [Function: transformRequest] ],
lenra-app-1  | 2023/09/12 10:48:37 stderr:     transformResponse: [ [Function: transformResponse] ],
lenra-app-1  | 2023/09/12 10:48:37 stderr:     timeout: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     xsrfCookieName: 'XSRF-TOKEN',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     xsrfHeaderName: 'X-XSRF-TOKEN',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     maxContentLength: -1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     maxBodyLength: -1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     env: { FormData: [Function] },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     validateStatus: [Function: validateStatus],
lenra-app-1  | 2023/09/12 10:48:37 stderr:     headers: {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       Accept: 'application/json, text/plain, */*',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Content-Type': 'application/json',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       Authorization: 'Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJsZW5yYSIsImVudl9pZCI6MSwiZXhwIjoxNjk2OTM0OTE3LCJpYXQiOjE2OTQ1MTU3MTcsImlzcyI6ImxlbnJhIiwianRpIjoiMjE1OTA1NjctZTc1MC00YmQyLThjNGEtZWFlNDBhNWQyOTNmIiwibmJmIjoxNjk0NTE1NzE2LCJzdWIiOiIzYWQzOTFhMi1jMTBkLTQ4ODYtYTA0ZC0zNjYyODcyZDEwOWEiLCJ0eXAiOiJhY2Nlc3MiLCJ0eXBlIjoiZW52In0.-HzQqNdtiFCx6nF_gdhQ7XVxDjX2tsv3N-sXTgLKAhgUbmLkMSFIfZwhl_s5npz7qbUf9XYMFB7Dxl0b5Ftjyw',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'User-Agent': 'axios/0.27.2',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Content-Length': 17
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     method: 'post',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     url: 'http://devtool:4001/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     data: '{"user":"global"}'
lenra-app-1  | 2023/09/12 10:48:37 stderr:   },
lenra-app-1  | 2023/09/12 10:48:37 stderr:   request: <ref *1> ClientRequest {
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _events: [Object: null prototype] {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       abort: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       aborted: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       connect: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       error: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       socket: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       timeout: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       finish: [Function: requestOnFinish]
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _eventsCount: 7,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _maxListeners: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     outputData: [],
lenra-app-1  | 2023/09/12 10:48:37 stderr:     outputSize: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     writable: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     destroyed: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _last: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     chunkedEncoding: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     shouldKeepAlive: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     maxRequestsOnConnectionReached: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _defaultKeepAlive: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     useChunkedEncodingByDefault: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     sendDate: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _removedConnection: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _removedContLen: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _removedTE: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     strictContentLength: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _contentLength: 17,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _hasBody: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _trailer: '',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     finished: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _headerSent: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _closed: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     socket: Socket {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       connecting: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _hadError: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _parent: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _host: 'devtool',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _closeAfterHandlingError: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _readableState: [ReadableState],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _events: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _eventsCount: 7,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _maxListeners: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _writableState: [WritableState],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       allowHalfOpen: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _sockname: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _pendingData: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _pendingEncoding: '',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       server: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _server: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       parser: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _httpMessage: [Circular *1],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(async_id_symbol)]: 135,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kHandle)]: [TCP],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(lastWriteQueueSize)]: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(timeout)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kBuffer)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kBufferCb)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kBufferGen)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kCapture)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kSetNoDelay)]: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kSetKeepAlive)]: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kSetKeepAliveInitialDelay)]: 60,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kBytesRead)]: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kBytesWritten)]: 0
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _header: 'POST /app/colls/counter/docs/find HTTP/1.1\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Accept: application/json, text/plain, */*\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Content-Type: application/json\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJsZW5yYSIsImVudl9pZCI6MSwiZXhwIjoxNjk2OTM0OTE3LCJpYXQiOjE2OTQ1MTU3MTcsImlzcyI6ImxlbnJhIiwianRpIjoiMjE1OTA1NjctZTc1MC00YmQyLThjNGEtZWFlNDBhNWQyOTNmIiwibmJmIjoxNjk0NTE1NzE2LCJzdWIiOiIzYWQzOTFhMi1jMTBkLTQ4ODYtYTA0ZC0zNjYyODcyZDEwOWEiLCJ0eXAiOiJhY2Nlc3MiLCJ0eXBlIjoiZW52In0.-HzQqNdtiFCx6nF_gdhQ7XVxDjX2tsv3N-sXTgLKAhgUbmLkMSFIfZwhl_s5npz7qbUf9XYMFB7Dxl0b5Ftjyw\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'User-Agent: axios/0.27.2\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Content-Length: 17\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Host: devtool:4001\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'Connection: close\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:       '\r\n',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _keepAliveTimeout: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _onPendingData: [Function: nop],
lenra-app-1  | 2023/09/12 10:48:37 stderr:     agent: Agent {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _events: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _eventsCount: 2,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _maxListeners: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       defaultPort: 80,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       protocol: 'http:',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       options: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       requests: [Object: null prototype] {},
lenra-app-1  | 2023/09/12 10:48:37 stderr:       sockets: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       freeSockets: [Object: null prototype] {},
lenra-app-1  | 2023/09/12 10:48:37 stderr:       keepAliveMsecs: 1000,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       keepAlive: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxSockets: Infinity,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxFreeSockets: 256,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       scheduling: 'lifo',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxTotalSockets: Infinity,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       totalSocketCount: 1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kCapture)]: false
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     socketPath: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     method: 'POST',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     maxHeaderSize: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     insecureHTTPParser: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     joinDuplicateHeaders: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     path: '/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _ended: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     res: IncomingMessage {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _readableState: [ReadableState],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _events: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _eventsCount: 4,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _maxListeners: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       socket: [Socket],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       httpVersionMajor: 1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       httpVersionMinor: 1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       httpVersion: '1.1',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       complete: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       rawHeaders: [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       rawTrailers: [],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       joinDuplicateHeaders: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       aborted: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       upgrade: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       url: '',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       method: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       statusCode: 500,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       statusMessage: 'Internal Server Error',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       client: [Socket],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _consuming: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _dumped: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       req: [Circular *1],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       responseUrl: 'http://devtool:4001/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       redirects: [],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kCapture)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kHeaders)]: [Object],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kHeadersCount)]: 20,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kTrailers)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kTrailersCount)]: 0
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     aborted: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     timeoutCb: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     upgradeOrConnect: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     parser: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     maxHeadersCount: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     reusedSocket: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     host: 'devtool',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     protocol: 'http:',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     _redirectable: Writable {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _writableState: [WritableState],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _events: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _eventsCount: 3,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _maxListeners: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _options: [Object],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _ended: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _ending: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _redirectCount: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _redirects: [],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _requestBodyLength: 17,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _requestBodyBuffers: [],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _onNativeResponse: [Function (anonymous)],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _currentRequest: [Circular *1],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _currentUrl: 'http://devtool:4001/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kCapture)]: false
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kCapture)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kBytesWritten)]: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kNeedDrain)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(corked)]: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kOutHeaders)]: [Object: null prototype] {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       accept: [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'content-type': [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       authorization: [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'user-agent': [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'content-length': [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       host: [Array]
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(errored)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kHighWaterMark)]: 16384,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kRejectNonStandardBodyWrites)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     [Symbol(kUniqueHeaders)]: null
lenra-app-1  | 2023/09/12 10:48:37 stderr:   },
lenra-app-1  | 2023/09/12 10:48:37 stderr:   response: {
lenra-app-1  | 2023/09/12 10:48:37 stderr:     status: 500,
lenra-app-1  | 2023/09/12 10:48:37 stderr:     statusText: 'Internal Server Error',
lenra-app-1  | 2023/09/12 10:48:37 stderr:     headers: {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'access-control-allow-credentials': 'true',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'access-control-allow-origin': '*',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'access-control-expose-headers': '',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'cache-control': 'max-age=0, private, must-revalidate',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       connection: 'close',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'content-length': '59',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'content-type': 'application/json; charset=utf-8',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       date: 'Tue, 12 Sep 2023 10:48:37 GMT',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       server: 'Cowboy',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       'x-request-id': 'F4QhESvzxADMUqAAAAIC'
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     config: {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       transitional: [Object],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       adapter: [Function: httpAdapter],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       transformRequest: [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       transformResponse: [Array],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       timeout: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       xsrfCookieName: 'XSRF-TOKEN',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       xsrfHeaderName: 'X-XSRF-TOKEN',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxContentLength: -1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxBodyLength: -1,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       env: [Object],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       validateStatus: [Function: validateStatus],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       headers: [Object],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       method: 'post',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       url: 'http://devtool:4001/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       data: '{"user":"global"}'
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     request: <ref *1> ClientRequest {
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _events: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _eventsCount: 7,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _maxListeners: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       outputData: [],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       outputSize: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       writable: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       destroyed: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _last: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       chunkedEncoding: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       shouldKeepAlive: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxRequestsOnConnectionReached: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _defaultKeepAlive: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       useChunkedEncodingByDefault: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       sendDate: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _removedConnection: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _removedContLen: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _removedTE: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       strictContentLength: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _contentLength: 17,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _hasBody: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _trailer: '',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       finished: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _headerSent: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _closed: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       socket: [Socket],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _header: 'POST /app/colls/counter/docs/find HTTP/1.1\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'Accept: application/json, text/plain, */*\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'Content-Type: application/json\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJsZW5yYSIsImVudl9pZCI6MSwiZXhwIjoxNjk2OTM0OTE3LCJpYXQiOjE2OTQ1MTU3MTcsImlzcyI6ImxlbnJhIiwianRpIjoiMjE1OTA1NjctZTc1MC00YmQyLThjNGEtZWFlNDBhNWQyOTNmIiwibmJmIjoxNjk0NTE1NzE2LCJzdWIiOiIzYWQzOTFhMi1jMTBkLTQ4ODYtYTA0ZC0zNjYyODcyZDEwOWEiLCJ0eXAiOiJhY2Nlc3MiLCJ0eXBlIjoiZW52In0.-HzQqNdtiFCx6nF_gdhQ7XVxDjX2tsv3N-sXTgLKAhgUbmLkMSFIfZwhl_s5npz7qbUf9XYMFB7Dxl0b5Ftjyw\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'User-Agent: axios/0.27.2\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'Content-Length: 17\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'Host: devtool:4001\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         'Connection: close\r\n' +
lenra-app-1  | 2023/09/12 10:48:37 stderr:         '\r\n',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _keepAliveTimeout: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _onPendingData: [Function: nop],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       agent: [Agent],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       socketPath: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       method: 'POST',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxHeaderSize: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       insecureHTTPParser: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       joinDuplicateHeaders: undefined,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       path: '/app/colls/counter/docs/find',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _ended: true,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       res: [IncomingMessage],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       aborted: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       timeoutCb: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       upgradeOrConnect: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       parser: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       maxHeadersCount: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       reusedSocket: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       host: 'devtool',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       protocol: 'http:',
lenra-app-1  | 2023/09/12 10:48:37 stderr:       _redirectable: [Writable],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kCapture)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kBytesWritten)]: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kNeedDrain)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(corked)]: 0,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kOutHeaders)]: [Object: null prototype],
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(errored)]: null,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kHighWaterMark)]: 16384,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kRejectNonStandardBodyWrites)]: false,
lenra-app-1  | 2023/09/12 10:48:37 stderr:       [Symbol(kUniqueHeaders)]: null
lenra-app-1  | 2023/09/12 10:48:37 stderr:     },
lenra-app-1  | 2023/09/12 10:48:37 stderr:     data: { message: 'Internal Server Error', reason: 'format error' }
lenra-app-1  | 2023/09/12 10:48:37 stderr:   }
lenra-app-1  | 2023/09/12 10:48:37 stderr: }
lenra-app-1  | 2023/09/12 10:48:37 POST /function/test - 500 Internal Server Error - ContentLength: 35B (0.2996s)
@Nesqwik Nesqwik added the bug Something isn't working label Sep 12, 2023
@Nesqwik Nesqwik added this to Lenra Sep 12, 2023
@github-project-automation github-project-automation bot moved this to 🟣 Need triage in Lenra Sep 12, 2023
@taorepoara taorepoara moved this from 🟣 Need triage to 🟡 Backlog in Lenra Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🟡 Backlog
Development

No branches or pull requests

1 participant