OData code generator: Combined length of user strings used by the program exceeds allowed limit

Hi,

I am getting the following error:

OData v4 client code generator - Get error [Error code: CS8103] “Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.” when building project with oDataClient.cs file

Have tried some online solutions, which is not working. Has anyone faced this issue and knows the solution please help!