Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1119

How to get more info in debug log

$
0
0

When an error occurs I’m only seeing some basic info.

2021-04-08T21:35:45.037Z [INF] HTTP:  #37869: PUT /salesrabbit/_user/auth0%7CQonGEZfIY45NQt-9F172k (as ADMIN)
2021-04-08T21:35:45.038Z [INF] HTTP: #37869:     --> 400 Empty passwords are not allowed   (1.1 ms)

The body of the request from the client app is

{"admin_channels": ["O.R_1_3617", "U_1_11716850"], "email": "test@example.com"}

I wish I could see in the debug log the body and headers of the request. I can make this call work locally using curl but not in the stage cluster env. I suspect there is a missing header but getting difficult to debug

That error does occur with curl for me if I add "password": "" to the json body, but works if I don’t include the password key

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1119

Trending Articles