Category: Forms and APIs

HTTP 404 in API after changing prefix /api/v2

Read this guide in Polish

Frontend creates an old path after the implementation of the new endpoint version.

How to identify the source of the problem

In Network, check the actual URL, method and router of registered endpoints.

Save method, status, headers and anonymized body requests and answers.

Repair steps

Change the client to the right endpoint, and for old integration consider controlled backward compatibility.

How to Test Solution

The demand goes to the right dealer, and unknown resources still return 404.

Security and restrictions

Do not disable authorization or validation of webhook signature for status 200. Wash the tokens in the logs.