Api with bearer token in header got 431 status code in dev server

Hi I am writing endpoint including Bearer token in api header fields in my local machine it’s working grate.
When i deployed it to dev server api is returning 431 status code which is Request header field too large.
Can someone plz help me with this. thanks.

Hi, you could increase the maximum size of the header, see: