You need to sign in to do that
Don't have an account?

why does am i getting the error "Illegal assignment for Object to Map" in this line of code
Map<String,Object> oauth = JSON.deserializeUntyped(res.getBody());
I've also tried
Map<String,Object> oauth = new Map<String,Object>(); oauth = JSON.deserializeUntyped(res.getBody());
Please help!
Can you share the JSON Body response or code here ?
Map<String,Object> oauth = JSON.deserializeUntyped(res.getBody());