Vaadin Javascript error when getting OAUTH token using postman

Hi Everyone,

I am using postman to get OAUTH2 token from the cuba server.
But i am getting error as "Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js?v=8.6.4-17-cuba "

I am using latest version of cuba

Could you please help me in resolving issue.

Hi,
If you are using CUBA 7.1 BETA then please switch to 7.0.10 for a while.
REST API has been moved to separate add-on in 7.1.

Hello @paddu.bits

Could you clarify what version of CUBA do you use? Please also share a request that you use to get OAuth token.

Regards,
Daniil

i was able to resolve this issue.

thank you.

Hello @paddu.bits

We’ll be appreciated if you’ll describe the problem you met and solution that’s helped.

Regards,
Daniil

Hi,

I was trying to get OAUTH token for the rest API and recieved javascript error both in postman and SOAP UI. In the older version of CUBA i was using {noop} before client.secretkey in the properties file. After upgrading to latest version i started observing javascript error and I solved the problem by removing {noop} before the secret key.

Thank you

1 Like