Error delivery
URL Query
Junction performs a 307 Temporary Redirect to theredirect_url specified in your Link Token in the following scenarios:
- All connections via the Junction Link widget
- Connect OAuth Provider endpoint used by your Custom Widget
redirect_url before the redirection. For example,
given a redirect_url of https://example.com/vital/callback:
provider is included when the provider is known, and isMobile is included when the client
context is available. Treat both parameters as optional because some errors occur before Junction
Link has that context. When included, provider contains the provider slug and isMobile is the
string true or false. Each Junction-generated parameter appears once.
Junction preserves existing non-empty query parameters that do not conflict with Link parameters.
If Junction generates a parameter already present in the supplied redirect_url, the generated
value replaces it. Do not rely on query parameter ordering.
JSON Response
Junction responds 200 OK with a JSON response in the following scenarios:- Connect Password Provider endpoint used by your Custom Widget
- Connect Email Provider endpoint used by your Custom Widget
Error Parameters
const string
Constant:
errorstring
One of the Link Error Types.
string
A human-readable error explanation for troubleshooting purposes.
Your application logic should not rely on this message.
Error Types
This list is non-exhaustive. Your application logic must gracefully handle any unrecognized error type.