cancel
Showing results for 
Search instead for 
Did you mean: 

API Get Access token issue

RevathiA
Level 2

Hello,

There is an API which i need to get an access token but API body is  form data  so i created C# code which i getting below errors. Please find the attached screenshots and could you please help me .

 19782.jpg19783.png



------------------------------
Revathi A
------------------------------
1 REPLY 1

TobiasArnold
Level 6

Hi Revathi,

I'm not sure if BluePrism is capable to compile a class with a main() method. Especially if it is an async task!

My first guess is: Put only the body of your main() method in a code stage and avoid async HttpClient calls. Use the sync methods instead.



------------------------------
Tobias Arnold
RPA Developer
ITERGO GmbH
Europe/Duesseldorf
------------------------------