Authentication errors not received on client (Only 400 BAD REQUEST)

Is there a way to get this data in Godot 4? I am attempting to use

error( "Invalid Custom ID" )

to provide information back to the client, but the only information received by the client is

NakamaException(StatusCode={2}, Message='{HTTPRequest failed!}', GrpcStatusCode={-1})

I’m pretty sure that the response is coming back as “500: Internal Server Error” – probably due to the use of “error” to interrupt the authentication process. Is there a way (using Lua) to use a Before Hook to stop authentication and return information to the client without invoking “error”? Or, if not, is there a way to ensure that the error message actually reaches the client?