beckn / beckn-onix

beckn onix
MIT License
49 stars 27 forks source link

empty response for any path apart from /search and /on_search #249

Open msm-dev98 opened 1 month ago

msm-dev98 commented 1 month ago

Empty response for any path apart from /search and /on_search

Description

We are experiencing an issue where our system is returning empty responses for all API paths except /search and /on_search. This behavior is causing problems for other endpoints that should be returning valid data.

Expected Behavior

All valid API endpoints should return appropriate responses based on their specific functionality.

Current Behavior

Only /search and /on_search endpoints are returning expected responses. All other endpoints are returning empty responses.

Steps to Reproduce

  1. Make API calls to any endpoint other than /search or /on_search
  2. Observe that the response is empty, regardless of the endpoint's intended functionality

Postman Screenshot

Below is a screenshot of a Postman call to the init endpoint, demonstrating the empty response:

Screenshot 2024-10-07 113938

Note: Please attach the actual screenshot when creating this issue on GitHub.

Logs

We have collected detailed logs for the init and on_init actions, which may be helpful in diagnosing this issue. The logs can be found at:

Init Logs

These logs contain information from:

Please refer to these logs for detailed information about the request-response cycle.