function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
黃至信 Reggie Huang黃至信 Reggie Huang 

OAuth error (error code 1800) when login through Mavensmate

Hello,

I was using Mavensmate & Sublime (IDE) for a long time.
Everything worked fine until last week.

After refreshed a sandbox, i can't no longer login Salesforce through Mavensmate with this error:

We can't authorize you because of an OAuth error. For more information, contact your Salesforce administrator.
1800 : There was a problem in setting up your remote access


Any idea will be appreciated.
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Please refer to the below links which might help you further with the above issue.

https://stackoverflow.com/questions/14509377/salesforce-api-oauth-authorization-error-1800

https://salesforce.stackexchange.com/questions/155927/salesforce-error-1800-there-was-a-problem-in-setting-up-your-remote-access

https://stackoverflow.com/questions/8326611/salesforce-remote-access-authorization-error

https://developer.salesforce.com/forums/?id=9060G000000IB6nQAG

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
黃至信 Reggie Huang黃至信 Reggie Huang
Hi Khan,

Thank you and sorry for the late reply.

I tried links you gave:
  • https://stackoverflow.com/questions/14509377/salesforce-api-oauth-authorization-error-1800
> No specific suggestion?
  • https://salesforce.stackexchange.com/questions/155927/salesforce-error-1800-there-was-a-problem-in-setting-up-your-remote-access
>  It suggests on creating a permission set called "Developer console Access" ( this permission set includes the Apex, visualforce related permissions that are needed) that has to be created and assigned to the user.
>> I've tried this but not worked. Actually in another sandbox, Mavensmate & Sublime works fine without this permission set.
 
  • https://stackoverflow.com/questions/8326611/salesforce-remote-access-authorization-error
> Not my situation?
 
  • https://developer.salesforce.com/forums/?id=9060G000000IB6nQAG
> No specific suggestion?

Still have no idea how to solve this.
Can you provide other idea to try?

Thanks and Regards,
Reggie Huang



 
Mujtaba Saleforce DevMujtaba Saleforce Dev

Hi Reggie
 

Were you able to resolve it. Same condition as yours.

 

黃至信 Reggie Huang黃至信 Reggie Huang
Hi  Mujtaba

I log case yesterday, and SF's response is as follows:
FYR

Thank you. This issue is related to the MavensMate connected application. The org where this connected app was created no longer exists.

In order to resolve this issue, you would need to contact MavensMate support. However, it appears that this project has been shelved by the developer. https://ddei3-0-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fmavensmate.com%2f&umid=1DCC2BE9-82C3-5805-9766-AE52B1B45358&auth=d057adcc7f4da7e129e1a7b4a62a0e3d963cc0d0-91cd0a22c97c1b61aa3b3f4571d9aaad75f4c1a7 

The reason why this works for some orgs and not others is because the consumer information of the app is replicated on all Salesforce instances that were existing at that time when the org was active. CS75 appears to have been introduced after the org was deleted, therefore the consumer information is not replicated on this instance as the source org doesn't exist anymore.

As an alternative IDE the please evaluate the use of VS Code, further information can be found here https://developer.salesforce.com/blogs/2018/10/vs-code-for-salesforce-developers-your-questions-answered.html