Set up calls and to test the URLs fails

I have developed an AWS Cognito Subscribe/Login Plugin that authenticates with Oauth2 user agent flow and Added redirect URL below to allowed URL’s in Cognito according to this info:

"You haven’t authenticated with AWS Cognito yet. You need to do this first to setup calls and to test the URLs.

Please make sure the app defined in AWS Cognito has the following callback URL

(if you cannot use parameters in the callback URL, click here before authenticating"

But when I authenticate it, I got this Error:

{“statusCode”:400,“body”:{“status”:“ERROR”,“message”:“Redirect ID invalid”},“args”:{“bubble_code”:“1539648413514x997659481363371000”}}

This is the offending URL:https://skit2.bubbleapps.io/api/1.1/oauth_redirect?client_id=3upk738ho2qprne90d99n00kt5&redirect_uri=https%3A%2F%2Fbubble.is%2Fplugin_editor%2F1539542608671x527979223981490200&response_type=code&state=%257B%2522tab%2522%253A%2522tabs-3%2522%252C%2522oauth_provider%2522%253A%2522plugin_api-1539542608671x527979223981490200%2522%252C%2522used_redirect_url%2522%253A%2522https%253A%252F%252Fbubble.is%252Fplugin_editor%252F1539542608671x527979223981490200%2522%257D&scope=profile

It seems that the redirect URL is longer then the one bubble want me to use.

An GET auth call to AWS works in the web browser and postman:

Solved!