CRM · Advertising · Websites · Automation

CRM, advertising and automation guides for businesses.

Learn how to choose a CRM, decide between Google and Facebook ads, calculate campaign budgets, improve lead quality and automate follow-up. The technical troubleshooting library is still available.

Looking for the broader strategy? Explore the marketing, CRM and SEO blog.

Browse by topic

464 English guides

All English business and technical guides

Next.js, React and TypeScript

Next.js: NEXT_REDIRECT Is Caught by try/catch

After calling redirect(), the user stays on the page, and NEXT REDIRECT appears in the log.

Read the solution
Next.js, React and TypeScript

Next.js: process.env runs on the server but undefined in the browser

The API variable exists while rendering the server, and in Client Component reads undefined.

Read the solution
Next.js, React and TypeScript

Next.js: read headers() blocks static prerendering

The page was previously statically generated, and after adding headers() it switches to dynamic mode or build reports a warning.

Read the solution
Next.js, React and TypeScript

Next.js: server-only module accidentally imported in Client Component

Build detects unauthorised import of server-only module into the component from use client.

Read the solution
Next.js, React and TypeScript

Next.js: Static Assets Return 404 After Setting basePath

The application in the subdirectory /panel opens HTML, but styles and JavaScript are loaded from invalid paths.

Read the solution
Next.js, React and TypeScript

Next.js: two titles and an erroneous canonical after migration to Metadata API

HTML contains a double title or canonical, because part of metadata generates App Router, and part of the old Head component.

Read the solution
Next.js, React and TypeScript

Next.js: useSearchParams corrupts static 404 error page

During the next build there is a message about the missing Suspense border on / not-found, although the home page works.

Read the solution
Next.js, React and TypeScript

Next.js: window is not defined during SSR component

The application works on customer navigation, but the page refresh ends with a window is not defined error.

Read the solution
CRM and lead management

npm ci Fails in CI Because the Lockfile Is Incompatible

You end up with a bug in GitHub Actions or Vercel, and an example install locally? Check lockfile, Node version and dependency.

Read the solution
Forms and APIs

Openrouter API returns 401 Unauthorized — what to check?

Error 401 in AI assist on page. API key, Authorization header, design and configuration of the server.

Read the solution
Vercel and hosting

Openrouter on Vercel: ENV variable is set, but API does not work

AI API error after deploy. Preview and Production Difference, variable name and need for new implementation.

Read the solution
Supabase and databases

pgvector HNSW: filter search returns too few results

The tenant id filter used limits the number of results returned below the expected limit.

Read the solution
Supabase and databases

pgvector: Vector Dimension Mismatch

Semantic search rejects the question, because the dimension of the vector differs from the dimension of the column.

Read the solution
Meta Ads and advertising

Pixel and Conversions API count the same transaction twice on the confirmation page

Description of diagnosis, differentiation of causes and safe corrective steps when pixel and Conversions API register the same sales twice on the confirmation page. Includes verification tests and typical mistakes to avoid.

Read the solution
Meta Ads and advertising

Pixel Meta: domain unverified for event configuration

The panel requires confirmation of the site's ownership before the selected domain operation.

Read the solution
Companies, CIT and owner payouts

Poland's alleged 6% tax on creative work contracts — explained

Why a nominal 6% can arise from 12% PIT and 50% copyright expense deductions, and why it is not a separate tax rate.

Read the solution
Business and taxes

Polish limited company: 9% vs 19% CIT and dividend example

See how PLN 100,000 pre-tax profit translates into after-tax dividends under standard Polish corporate income tax.

Read the solution
Business ideas and activity codes

Polish renovation company: PKD, 5.5% lump-sum and conditional 8% VAT

Construction finishing activity codes, VAT on qualifying residential works and a PLN 50,000 renovation with a 10% margin.

Read the solution
Supabase and databases

PostgreSQL 22001: Value Too Long for Column Type

Writing a longer description ends with a 22001 error instead of creating a record.

Read the solution
Supabase and databases

PostgreSQL 23505: Duplicate Key Violates Unique Constraint

Data insertion or synchronization stops at SQLSTATE 23505.

Read the solution
Supabase and databases

PostgreSQL 40001: Serialization Failure from Concurrent Updates

Two operations on the same data end in SQLSTATE 40001 error at a higher level of isolation.

Read the solution
Supabase and databases

PostgreSQL 40P01: Deadlock Detected During Concurrent Writes

During parallel recording of two records, one transaction ends with a deadlock detected error, although individual records work.

Read the solution
Supabase and databases

PostgreSQL: 22P02 invalid input syntax for type uuid

The API returns SQLSTATE 22P02 when the filter or INSERT has received text that is not a valid UUID.

Read the solution
Supabase and databases

PostgreSQL: 42P01 relation does not exist after migration

The application reports 42P01, although the table was created in a developer environment.

Read the solution

Switch to Polish guides

Guides for businesses: CRM, online ads, websites and