function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nitish Kumar 38Nitish Kumar 38 

HTTP Callout issue in Managed Package

Hi All,

I am doing HTTP callout for getting the refresh token using connected app oAuth authentication in my apex class. This works perfectly fine in the org but when installing the managed package in another org its not working.

I am struggling to find out the root cause of the issue. Can anyone guide what could be the issue and how it can be fixed ??
DhanasekaranDhanasekaran
What is the error / exception you are seeing. Remember to add the endpoint url to the remote site settings.
Nitish Kumar 38Nitish Kumar 38
Since it's a managed package , I am not able to see any errors. It's also not showing any exception. Have already added the remote site settings
DhanasekaranDhanasekaran
Try enabling the debug logs you can see the errors. 
Nitish Kumar 38Nitish Kumar 38
How do I enable debug log in another org where the managed package is installed. Since its managed we can't see any debugs happening in that
DhanasekaranDhanasekaran
If you are admin, Setup -> Monitoring -> Debug Logs