You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

can't get OAuth access token, status: 302

edited Apr 21, 2020 10:29AM in Visual Builder 3 comments

Summary

can't get OAuth access token, status: 302

Content

Dear Team,

 

I am trying to do vb-export using Grunt command 

 

grunt vb-export --url=<url> --username=<uname> --password=<pwd> --id=<app id>--ver=1.0 --git-sources=<local dir>
 
But I am getting the below error.  Could you help?
 
Error: 
Going to get OAuth access token from VB service at <url>/basicauth
error
Warning: can't get OAuth access token, status: 302, message: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The requested resource has been temporarily moved <a href="https://login.us2.oraclecloud.com:443/oam/server/obrareq.cgi?encquery=sdvVwkPoua7Z0AFVg0+/Yn1ykHRrbBCpkLwsDaWCsqxWmlRmHy31L889Wda4WhXQygH8LA1vUHkcd6PzftLwvUOEGS6nZuSFnbzVUPLzXEJ4P7E6BIapj5qPVyOxvvCvqzzPZDoiqFa+pILKCaHjVbBcKMROoyNkSa9rTUddHGQChSzCFDDBLUM5vNql6u0sxo+0RZgdOPqkgMVbF32IOeT4WMnyT/+cwDM2rORWMKxg8zzAW7zcKsI1FzJtVuVIAipMdML+W7MPo1+MOQmUlZHXxNSQDUVNBaPBWc+iOWvezV402U6HCbz3/EVbfe9h agentid=AppBuilder_WG ver=1 crmethod=2&quot;&gt;here&lt;/a&gt;.&lt;/p&gt

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!