Refresh Token with REST Method error
I am trying to refresh a token using a REST method, but I keep getting an error "The remote server returned an error: (400) Bad Request" with the error response "{"error":"unsupported_grant_type"}"
This is how my REST integration is set up.
And these are the inputs for my REST integration:
Comments
-
Hi there!
The values you are passing in for your username and password need to be URL Encoded. We have URLEncode Text steps that you will want to pass your username and password through before using them in your REST Method. The URL Encode Text step can be found under Integration > HTTP.
https://documentation.decisions.com/step-library/docs/urlencode-text
~ Kathryn
Howdy, Stranger!
Categories
- 2.1K All Categories
- 17 General
- 154 Installation / Setup
- 986 Flows
- 86 Rules
- 199 Administration
- 203 Portal
- 428 General Q & A
- 594 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 137 Pages
- 1 Process Mining
- New Features
- 147 Datastructures
- 49 Repository
- 163 Integrations
- 25 Multi-Tenant
- 21 SDK
- 39 Modules
- 36 Settings
- 19 Active Directory
- 12 Version 7
- 34 Version 8