Kotak-Neo / kotak-neo-api

96 stars 80 forks source link

Invalid option 'LIVE' for environment, it should be 'PROD' #101

Open soumyajyotibiswas opened 7 months ago

soumyajyotibiswas commented 7 months ago

Summary

If you specify LIVE as a value, then the client will error at login.

Error -

lib/python3.11/site-packages/neo_api_client/neo_utility.py", line 70, in get_domain
    raise ApiValueError("Either UAT or PROD in Environment accepted")
neo_api_client.exceptions.ApiValueError: Either UAT or PROD in Environment accepted

Error code link

Steps to reproduce

FIX

Update the documentation to reflect the correct environment name as PROD