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
KruviKruvi 

Unsupported parameter type on future REST callout

Hi

 

I have this method:

 

@future(callout=true)
private static void doSend(HttpRequest req, sObject obj, String operationName)

 When I compile I'm getting this error:

Unsupported parameter type System.HttpRequest

and

Unsupported parameter type sObject

 

Can someone help me understand why and how I overcome it?

 

Many thanks

 

Kruvi