Comments (8)
Hey Steve, thanks for bringing this issue up. I think I may have found the source of the issue here.
First, can you confirm that the Salesforce org you're trying to deploy to is a Dev Hub org? That's the only type of org the button works with and I admittedly haven't made it very clear in the README.
The more likely cause is that it seems the Deploy to SFDX button has an issue with deploying if the target URL isn't the root URL of the project. This issue in their repo here seems to confirm that. If you were trying to deploy from master
, the URL should've been https://github.com/watson-developer-cloud/salesforce-sdk/tree/master
.
I'm going to make master
the base branch, so you shouldn't have an issue after that change, but next time you try just make sure the URL is https://github.com/watson-developer-cloud/salesforce-sdk
.
Let me know if you still have any problems after trying again.
from salesforce-sdk.
Hey @lpatino10 thanks for taking a look at this and your quick analysis.
First, can you confirm that the Salesforce org you're trying to deploy to is a Dev Hub org? That's the only type of org the button works with and I admittedly haven't made it very clear in the README.
I really couldn't tell you with any certainty if i'm doing this correctly. No prompt came up to select an org to deploy to. From what I've been reading online, I know how to bring up the dev console, but I can't seem to run anything. Google tells me this is a permissions issue and I don't have an Author Apex
role, but I don't know how to add this even after looking in the console for an hour :)
++ On adding some of this to the README or another supporting document.
from salesforce-sdk.
When you click on the deployment button, do you get this page?
That link under the Login with your Dev Hub org
button will take you to the page to create a Dev Hub org if you're not sure you have one.
If it's something Salesforce-specific with permissions I'm not sure of the best way to help 😕
from salesforce-sdk.
@lpatino10 The link in the text "Need a Dev Hub org? Learn how to get one here" links out to https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_enable_devhub.htm
I'm assuming my account is fine since it's a trial account and the third item on that page says:
If you're using a trial org, Dev Hub is already enabled.
from salesforce-sdk.
Hmm. Have you tried again since I've changed the base branch for the repo?
from salesforce-sdk.
I got slightly further by pausing AdBlock...
We can't authorize you because of an OAuth error.
For more information, contact your Salesforce administrator.
OAUTH_APPROVAL_ERROR_GENERIC : An unexpected error
has occured during authentication. Please try again.
from salesforce-sdk.
@lpatino10 you can ignore this issue for now. I'm spinning my wheels trying to get salesforce to actually do something that isn't tossing up an error. I'm a while away from being able to use the SDK.
from salesforce-sdk.
Will do. Good luck figuring it out!
from salesforce-sdk.
Related Issues (20)
- Request timed out when adding a document to the watson collection HOT 10
- [Discovery]: Add @isTest to IBMWatsonMockResponses HOT 1
- SOQL queries cause errors when SDK is namespaced
- Request time out while inserting file HOT 6
- Replace 'return_fields' with 'return' in Discovery HOT 1
- Example of implementing Watson Assistant Context object HOT 2
- Missing confidence score - Watson Discovery Services HOT 1
- Query Exception when multiple SDK versions are installed in different namespaces HOT 2
- [Discovery] Allow JSON to pass-through to calling method HOT 1
- Ability to setAdditionalProperties Context - Watson Assistant HOT 2
- Deployment Errors HOT 2
- IBMAssistantV1Models.InputData -- Invalid type HOT 1
- Assistant support requested for new fields for search skills results HOT 1
- v5.0.0 goals HOT 1
- Code coverage for Apex classes less than 75% HOT 6
- Code coverage for Apex classes less than 75% - Reopen(#197) HOT 6
- Issue with Watson Assistant ListLogsOptions Method HOT 2
- Watson endpoint change not implemented HOT 1
- Personality Insights, content_items_serialized_name param is invalid HOT 3
- Force case sensitive JSON for dynamic model deserialization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from salesforce-sdk.