Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
andre_rizzatti
Contributor
Contributor

Unexpected character encountered while parsing value

Hello!
I have a sub that calls a refresh token ... the result of the token is saved in a variable and then passed to another call 

has anyone gone through this? this connection was working normally from 6 months until yesterday

andre_rizzatti_1-1623418706988.png

 

andre_rizzatti_0-1623418699009.png

 

1 Reply
rubenmarin

Hi, i'm not an expert on this but when I used similar codes to retrieve tokens I have to pass the client_id, client_secret and the refresh token.

Every API has it's own way to get access but I think you have to pass some kind of credentials, ie:

FROM JSON (wrap on) "root"  
        WITH CONNECTION (  
            URL "$(vRequestURL)"
This "vRequestURL" is a variable than contains the url with all the needeed parameters the API requires to return the access_token.
 
Maybe something has expired and it retuns a login or error page, and this page is what the rest connector can't parse.
 
I'm just guessing, you have to look in the documentation of that API how to get the token... or wait to another community user with more knowledge of this than me.