Getting Error in token creation "An error occurred while initializing Upstox API Invalid values for `exchanges` [NSCOM], must be a subset of [NSE, NFO, CDS, BSE, BFO, BCD, MCX]"

I am using Python SDK and getting the following error in token creation from today morning.

An error occurred while initializing Upstox API Invalid values for exchanges [NSCOM], must be a subset of [NSE, NFO, CDS, BSE, BFO, BCD, MCX]

FYI - It was working fine till yesterday evening. Any SDK upgrade to be done?

@Arunachalam_Sakthive

This should be working now. The issue with the SDK exchange list has been resolved—it’s now sorted and shouldn’t cause any further trouble.

Please check and let us know if everything looks good on your end.

Thanks!

1 Like

Hello Shanmu,

Thank you so much for your quick fix and it is working fine.

Thanks and Regards,
Arun

1 Like