How to resolve the error mentioned below UDAPI100057

{‘status’: ‘error’, ‘errors’: [{‘errorCode’: ‘UDAPI100057’, ‘message’: ‘Invalid Auth code’, ‘propertyPath’: None, ‘invalidValue’: None, ‘error_code’: ‘UDAPI100057’, ‘property_path’: None, ‘invalid_value’: None}]}

Could you provide the specific curl command you’re using for your request?

Based on the error message, it seems clear that the authentication code is invalid. It’s important to remember that the authentication code can only be used once, as indicated in the note section of the authentication guide here: Authentication | Upstox Developer API