0% found this document useful (0 votes)
327 views2 pages

Evolutionapi-Evolution API v2-1 Logs

The document details the deployment of migrations for a PostgreSQL database using Prisma, indicating that 48 migrations were found and successfully applied with no pending migrations. It also notes the successful generation of the Prisma Client and includes error logs related to failed webhook requests, both resulting in a 400 status code. Additionally, it mentions a new major version of npm available for update.

Uploaded by

Damian Ferraro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
327 views2 pages

Evolutionapi-Evolution API v2-1 Logs

The document details the deployment of migrations for a PostgreSQL database using Prisma, indicating that 48 migrations were found and successfully applied with no pending migrations. It also notes the successful generation of the Prisma Client and includes error logs related to failed webhook requests, both resulting in a 400 status code. Additionally, it mentions a new major version of npm available for update.

Uploaded by

Damian Ferraro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Deploying migrations for postgresql

Database URL:
> [email protected] db:deploy
> node runWithProvider.js "rm -rf ./prisma/migrations && cp -r
./prisma/DATABASE_PROVIDER-migrations ./prisma/migrations && npx prisma migrate
deploy --schema ./prisma/DATABASE_PROVIDER-schema.prisma"
Environment variables loaded from .env
Prisma schema loaded from prisma/postgresql-schema.prisma
Datasource "db": PostgreSQL database "evolution_api", schema "public" at
"postgres:5432"
48 migrations found in prisma/migrations
No pending migrations to apply.
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.0.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
npm notice To update run: npm install -g [email protected]
npm notice
Migration succeeded
> [email protected] db:generate
> node runWithProvider.js "npx prisma generate --schema ./prisma/DATABASE_PROVIDER-
schema.prisma"
Environment variables loaded from .env
Prisma schema loaded from prisma/postgresql-schema.prisma
✔ Generated Prisma Client (v5.21.1) to ./node_modules/@prisma/client in 986ms
Start by importing your Prisma Client (See: http://pris.ly/d/importing-client)
Tip: Curious about the SQL queries Prisma ORM generates? Optimize helps you enhance
your visibility: https://pris.ly/tip-2-optimize
Prisma generate succeeded
> [email protected] start:prod
> node dist/main
[Evolution API] v2.2.0 162 - Sun Dec 22 2024 18:26:34 ERROR
[WebhookController] [object]
{
local: 'p.sendData-Webhook',
message: 'Request failed with status code 400',
hostName: undefined,
syscall: undefined,
code: 'ERR_BAD_REQUEST',
error: undefined,
stack: 'AxiosError: Request failed with status code 400\n' +
' at settle (/evolution/node_modules/axios/dist/node/axios.cjs:2019:12)\n' +
' at IncomingMessage.handleStreamEnd
(/evolution/node_modules/axios/dist/node/axios.cjs:3135:11)\n' +
' at IncomingMessage.emit (node:events:531:35)\n' +
' at endReadableNT (node:internal/streams/readable:1696:12)\n' +
' at process.processTicksAndRejections
(node:internal/process/task_queues:82:21)\n' +
' at Axios.request
(/evolution/node_modules/axios/dist/node/axios.cjs:4287:41)\n' +
' at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)\n' +
' at async Hs.emit (/evolution/dist/main.js:282:44521)\n' +
' at async js.emit (/evolution/dist/main.js:282:47373)\n' +
' at async Rs.sendDataWebhook (/evolution/dist/main.js:161:14985)',
name: 'AxiosError',
url: 'https://hook.us1.make.com/3xdcnvyb6cmxov4vuoddg4qj2juxhr9e/connection-
update',
server_url: 'https://api.pernil.com.ar'
}
[Evolution API] v2.2.0 162 - Sun Dec 22 2024 18:26:36 ERROR
[WebhookController] [object]
{
local: 'p.sendData-Webhook',
message: 'Request failed with status code 400',
hostName: undefined,
syscall: undefined,
code: 'ERR_BAD_REQUEST',
error: undefined,
stack: 'AxiosError: Request failed with status code 400\n' +
' at settle (/evolution/node_modules/axios/dist/node/axios.cjs:2019:12)\n' +
' at IncomingMessage.handleStreamEnd
(/evolution/node_modules/axios/dist/node/axios.cjs:3135:11)\n' +
' at IncomingMessage.emit (node:events:531:35)\n' +
' at endReadableNT (node:internal/streams/readable:1696:12)\n' +
' at process.processTicksAndRejections
(node:internal/process/task_queues:82:21)\n' +
' at Axios.request
(/evolution/node_modules/axios/dist/node/axios.cjs:4287:41)\n' +
' at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)\n' +
' at async Hs.emit (/evolution/dist/main.js:282:44521)\n' +
' at async js.emit (/evolution/dist/main.js:282:47373)\n' +
' at async Rs.sendDataWebhook (/evolution/dist/main.js:161:14985)',
name: 'AxiosError',
url: 'https://hook.us1.make.com/3xdcnvyb6cmxov4vuoddg4qj2juxhr9e/qrcode-updated',
server_url: 'https://api.pernil.com.ar'
}

You might also like