Fdk populate and ngrok tunnel connection error

We are facing 2 errors in lower environment (SIT)

  1. fdk populate . (with newer fdk version )

Debug Log

$ cat debug.log 
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Latest version: 4.0.4 | false","timestamp":"2023-12-12 13:30:47"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"info","message":"Creating Brand","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"************** CURL **************","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"METHOD: POST | PATH: https://api.sngz0.de/service/partner/partners/v1.0/organization/6576eab4a8ad3e08abb81c8f/company/799/setup","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"curl --include --request POST 'https://api.sngz0.de/service/partner/partners/v1.0/organization/6576eab4a8ad3e08abb81c8f/company/799/setup' --header 'content-type: application/json' --header 'x-fp-cli: 4.0.4' --header 'authorization: Bearer pr-58e5f2a604290a7b758f85aea89058327297bdf2' --header 'x-fp-date: 20231212T080107Z' --header 'x-fp-signature: v1.1:6f484d37bff31cca1ffda734645db1fdce38aeb7ca9a5f02b1b3b2575adfc0c4' --data-raw '{}'","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"************** END OF CURL **************","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Response status: 200","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Response: {\"message\":\"Brand Updated Successfully\",\"request_id\":\"41252ed3-ef85-4831-ac52-713c62dd862b\",\"next_step\":2,\"cli_wait_time\":100}","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Response Headers: {\"date\":\"Tue, 12 Dec 2023 08:01:08 GMT\",\"content-type\":\"application/json; charset=utf-8\",\"content-length\":\"126\",\"strict-transport-security\":\"max-age=63072000; includeSubdomains\",\"x-content-type-options\":\"nosniff\",\"x-powered-by\":\"Express\",\"vary\":\"Origin\",\"access-control-allow-credentials\":\"true\",\"etag\":\"W/\\\"7e-5irA0d5TeJX+D4zd7XyjOMgLWe4\\\"\",\"x-fynd-trace-id\":\"73a63540d82be480a9b85c5f8c9c5ef0\",\"via\":\"1.1 google\",\"alt-svc\":\"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\"}","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"info","message":"Brand Updated Successfully","timestamp":"2023-12-12 13:31:07"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"info","message":"","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"************** CURL **************","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"METHOD: POST | PATH: https://api.sngz0.de/service/partner/partners/v1.0/organization/6576eab4a8ad3e08abb81c8f/company/799/setup","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"curl --include --request POST 'https://api.sngz0.de/service/partner/partners/v1.0/organization/6576eab4a8ad3e08abb81c8f/company/799/setup?request_id=41252ed3-ef85-4831-ac52-713c62dd862b' --header 'content-type: application/json' --header 'x-fp-cli: 4.0.4' --header 'authorization: Bearer pr-58e5f2a604290a7b758f85aea89058327297bdf2' --header 'x-fp-date: 20231212T080108Z' --header 'x-fp-signature: v1.1:fb7f7ea21f33cdb21dcc107bd7a9f385a481e1dce15efee62299f11ac8f57da9' --data-raw '{}'","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"************** END OF CURL **************","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Response status: 200","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Response: {\"message\":\"HSN Code Created Successfully\",\"request_id\":\"41252ed3-ef85-4831-ac52-713c62dd862b\",\"next_step\":3,\"cli_wait_time\":100}","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Response Headers: {\"date\":\"Tue, 12 Dec 2023 08:01:08 GMT\",\"content-type\":\"application/json; charset=utf-8\",\"content-length\":\"129\",\"strict-transport-security\":\"max-age=63072000; includeSubdomains\",\"x-content-type-options\":\"nosniff\",\"x-powered-by\":\"Express\",\"vary\":\"Origin\",\"access-control-allow-credentials\":\"true\",\"etag\":\"W/\\\"81-88QrNKbZYfnXN5qRpBfdWsgWoJI\\\"\",\"x-fynd-trace-id\":\"e5aa0fa201abe7f387ef37e2c7b24b2b\",\"via\":\"1.1 google\",\"alt-svc\":\"h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\"}","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"info","message":"HSN Code Created Successfully","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"info","message":"","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"************** CURL **************","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"METHOD: POST | PATH: https://api.sngz0.de/service/partner/partners/v1.0/organization/6576eab4a8ad3e08abb81c8f/company/799/setup","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"curl --include --request POST 'https://api.sngz0.de/service/partner/partners/v1.0/organization/6576eab4a8ad3e08abb81c8f/company/799/setup?request_id=41252ed3-ef85-4831-ac52-713c62dd862b' --header 'content-type: application/json' --header 'x-fp-cli: 4.0.4' --header 'authorization: Bearer pr-58e5f2a604290a7b758f85aea89058327297bdf2' --header 'x-fp-date: 20231212T080108Z' --header 'x-fp-signature: v1.1:fb7f7ea21f33cdb21dcc107bd7a9f385a481e1dce15efee62299f11ac8f57da9' --data-raw '{}'","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"************** END OF CURL **************","timestamp":"2023-12-12 13:31:08"}
{"Command":"-v populate","Env":"sngz0","Node":"v20.10.0","OS":"darwin","cli":"v4.0.4","level":"debug","message":"Error Response  :  {\"message\":\"Request failed with status code 400\",\"code\":\"ERR_BAD_REQUEST\",\"sentry\":\"1529c9d6604e4c9ea90e813ee3722862\"}","timestamp":"2023-12-12 13:31:08"}
  1. ngrok tunnel connection error . ( Both the Ngrok and client is running)

Error 2. Has resolved by changing the network settings .
Error 1 . Is still pending.

fdk populate
Version:  4.0.4
? Enter Company ID:  799
Creating Brand
Brand Updated Successfully

HSN Code Created Successfully

/usr/local/lib/node_modules/@gofynd/fdk-cli/dist/lib/CommandError.js:101
        var _this = _super.call(this, message) || this;
                           ^

CommandError: Request failed with status code 400
    at new CommandError (/usr/local/lib/node_modules/@gofynd/fdk-cli/dist/lib/CommandError.js:101:28)
    at /usr/local/lib/node_modules/@gofynd/fdk-cli/dist/lib/api/helper/interceptors.js:200:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'FDK-0003',
  response: {
    status: 500,
    statusText: 'Internal Server Error',
    headers: {
      date: 'Fri, 15 Dec 2023 07:49:57 GMT',
      'content-type': 'application/json; charset=utf-8',
      'content-length': '118',
      'strict-transport-security': 'max-age=63072000; includeSubdomains',
      'x-content-type-options': 'nosniff',
      'x-powered-by': 'Express',
      vary: 'Origin',
      'access-control-allow-credentials': 'true',
      etag: 'W/"76-K9ithSSJgoa7d/u6CdDjfO6lI7w"',
      via: '1.1 google',
      'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
    },