You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing exactly same issue with Cashfree Payout apis. We are using nodejs library. Its working if we whitelist server IP address under 2FA settings.
But our code is running inside ECS, so the public IP of each service get updated upon restart. When we pass ".pem" file content directly into the environment file, then we get error:
TypeError: Cannot read property 'token' of undefined
Error thrown by SDK:
TypeError: Cannot read property 'token' of undefined\n at Auth.authorize
"IP not whitelisted"
ENV: TEST
I'm using dynamic IP for API calls, so instead of IP whitelisting, I'm using a public key.
Also, as a side note, I haven't added any IP in the whitelisting field on the test dashboard.
The text was updated successfully, but these errors were encountered: