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
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8