> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sfcodebot.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Step Server encountered an issue while accessing access token

Below is the screenshot attached of one of the most seen error after the users set their instances in CodeBot.

![](https://storage.crisp.chat/users/helpdesk/website/-/5/a/5/3/5a53c0e6e1563400/image_qfjfdd.png)

# Steps to troubleshoot 


1. Go to the admin dashboard if you are a company admin.

![](https://storage.crisp.chat/users/helpdesk/website/-/5/a/5/3/5a53c0e6e1563400/image_c80zkr.png)


2. Navigate to instances.

![](https://storage.crisp.chat/users/helpdesk/website/-/5/a/5/3/5a53c0e6e1563400/image_j5u1i2.png)


3. Edit the instance for which you saw the error, scroll down to the bottom and click on **Test ODATA Credentials** and **Test SFAPI Credentials.**

![](https://storage.crisp.chat/users/helpdesk/website/-/5/a/5/3/5a53c0e6e1563400/image_sdz7h7.png)


4. If the SFAPI credentials are incorrect/invalid you will receive the error shown below.

![](https://storage.crisp.chat/users/helpdesk/website/-/5/a/5/3/5a53c0e6e1563400/image_14pcw62.png)


5. Update your SFAPI credentials, and redo the test, after successull test; click save. Go back to your workspace and re-execute the iteration. 

![](https://storage.crisp.chat/users/helpdesk/website/-/5/a/5/3/5a53c0e6e1563400/image_1ehgz80.png)
**Note:** If you see the error again after providing the valid credentials, please feel free to reach out to us.


