Trying to connect my org to salesforce cli via vs code, gettinbg the error : The REST API is not enabled for this Organization - visual-studio-code

I am starting with salesforce development but while connecting my org to salesforce cli, i am getting an error like - The REST API is not enabled for this Organization.
Please find the screenshots below -
enter image description here
And also in browser it is redirecting me to this url -
http://localhost:1717/OauthRedirect?code=aPrxGfV7WpWWFnHr1BftlZq.nONCzwSN.M7wIvI5VhKlMmdWCqzFghvEPSX729wC0OnXDqB6QA%3D%3D&state=e9d1b63ebaf1
please refer the below image -
enter image description here
Any solution? How to fix it?

You have probably signed up, accidentally, for a trial of Professional Edition, which does not come with API access. To try out development, sign up for a Developer Edition at developer.salesforce.com, which does come with API access.
If the org you are using is your (paid) business org, you should still get a Developer Edition to practice in, and be aware of the limitations of development on Professional Edition.

Related

Google workspace GCPW/OMA URI implementation

We are trying the google workspace(GCPW) for sharing the msi package from google admin to multiple user.
Problems we are facing :-
In windows 10 home we have successfully created the custom policy of OMA URI to share the app, But msi package is not installing on users system as per expectation. Later i received an email from google that it will only support in windows 10 pro.
So I tried it on 2 windows 10 pro system and installed the GCPW installer on both the systems and it was successfully installed, But unfortunately GCPW login is not working please find the below errors i a having in both systems.
a. 1st System issue - This email isn't allowed to sign in. Try again with the account you use for work or school. If you still can't sign in, Contact administrator
2nd system issue - We cannot find the option to login using GCPW (Like Add work account with google logo).
Hope the issues is understanding correctly with you all guys, If need to understand it further please do let me know.
Thanks
Pradeep Bhatt

Google Sign in error 403 - Project marked for deletion

I've recently integrated play-silhouette 4.0.0 with Play 2.5 to handle authentication. I am allowing my users to login with Google and as such am using Silhouette's OAuth2 features. I am redirected to Google's authorization page properly but after pressing allow the app fails with
403 - Project marked for deletion
I have enabled the Google+ API in the developer's console and am requesting the scopes "profile email" from the service. I've also deployed the sample app and get the same error. The error codes listed by Google are not much help - anyone have an idea? I've been testing on my local machine.
I resolved this issue:
Create a new project in the Google Developer Console.
Enable Google+ API.
Create OAuth Credentials.
Perhaps I created the credentials before I enabled the API. Seems a bit silly order would matter. Hope this is helpful to someone else!

Error 403: Project blocked; abuse detected., accessNotConfigured

I have a golang program running on my local laptop. I had a previous Google Cloud account that I used to upload images to a bucket (using gcloud local context). It worked.
I created another company branded Google Cloud account and linked our company card to it.
Ever since then I get the error in the title.
I contacted support and got this:
Hi,
Unfortunately we are not able to identify any abuse related actions taken on your project. To resolve this issue, please reach out to the Google Cloud Platform community support.
Sincerely,
Google Cloud Platform/API Trust & Safety Team
Do you guys have any ideas? Any help would be much appreciated.
The problem turned out to be that the JWT json file being used by my project for authentication was out-of-date.
I had to re-download a new JWT json file from the cloud console and put it in the root of my project folder.

Salesforce : How to activate Apex Classes feature in Professional Edition

I am working on a salesforce project and need to add a package. The issue is that under developer console I am not able to create Apex Classses , which leads to the following error when I add the package to salesforce.
This is the error I get when I try to install the package
After reading many forums, I came to a conclusion that i need to activate Apex Author permission under permission sets.
But the permission is not present there.
I created a developer account for salesforce in which the Apex Classes where already active and was able to import the package and make changes.
The Salesforce account is Professional Edition and is not under trial.
Any help regarding this will be appretiated.
Thanks
Currently, Professional Edition (PE) does not have the ability to create, modify, or deploy Apex classes directly in an org of that edition. This includes using Apex in an unmanaged package. The Author Apex permission is only found in Enterprise, Unlimited, Performance, and Developer editions.
If you are an AppExchange Partner, you can write apps that use Apex, and send them through security review to be installed in PE orgs (as well as Group Edition).
From the Apex Code Developer guide relating to Apex and PE, you can read about the basic statement about Apex and supported editions. In the ISV Developer Guide (for App Exchange Apps and partners), you can read the specifics of what is required to get your app to run with Apex in a PE/GE org.
If you are exploring Salesforce for the purposes of writing ISV apps for Salesforce, I would also recommend taking this short self-paced learning module on ISV basics and Salesforce on the Trailhead learning platform.
Finally, there is a dedicated Salesforce stack exchange you might also look into for further question.

Pentaho User Console login incorrectly redirecting to licensing page

I am in the process of adapting the security configurations to LDAP on the Pentaho BI-server. I made the modifications a while back (simply to direct Pentaho where the LDAP references were), and the login process worked just fine. No other modifications have been made to the configuration.
However, the free month trial that I had been using ran out, and I had to switch to an Enterprise license. Ever since then, I have been having problems with the login. I am using a Firefox browser on a Linux VM.
When I enter my LDAP login credentials (that I am sure are correct and working) (Screenshot 1: Normal-appearing login screen hosted at localhost:8080/pentaho/Login)
I am redirected to the page I first saw when my free trial ran out (Screenshot 2). I see the error
Missing or expired license. To continue you must update your Pentaho BI Platform license. If you are not ready now you may log out and come back later.
but it shows all my licenses as up-to-date and valid.
I would think that this is maybe some sort of glitch, except that if I modify the web address it redirected me to
http://localhost:8080/pentaho/api/repos/admin-plugin/resources/licenseManagerModule/licenseManagerAdmin.html
and change it to
http://localhost:8080/pentaho/
after putting in my credentials, I am taken to my User Console dashboard, and I am logged in.
I am not even sure what type of problem I am running into. Is it coding related, browser related, Pentaho server related, or something else altogether? I would appreciate some guidance into where I might look to fix it.
Your problem is indeed a missing license. You need Pentaho BI Platform Enterprise Edition license to run PUC.