• João Azevedo 2
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
Hi,

I will be using a connected app to build a Salesforce integration in my product. This means that users will be able to connect through my product to their Salesforce instance. Then, they can get or update information from/on the CRM.

I couldn't find any documentation mentioning any review process. So, can I use the connected app for this purpose?

Thank you,
Hi,

I'm trying to test the Salesforce REST API.
I was able to complete the OAuth 2.0 workflow, so I can get a OAuth token to perform the HTTP request. 
However, I'm always getting a 403 HTTP Status when I try to call the endpoint.

This is an example of the request I'm trying to execute: 
- GET eu40.lightning.force.com/services/data/v20.0/query/?q=SELECT+name+from+Account

I'm sending the token as the authorization header. However, I'm always getting the following error message:
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
</head>

<body>
	<center>
		<table bgcolor="white" style="align: center;">
			<tbody>
				<tr>
					<td><br><br></td>
				</tr>
				<tr>

					<td>
						<table bgcolor="white" cellpadding="0" cellspacing="0" style="border:1px solid #ccc;"
							width="758">
							<tbody>
								<tr>
									<td><br></td>
								</tr>
								<tr>
									<td>
										<div
											style="background-color: white; border: 1px solid #ccc; padding: 0px; margin-top: 10px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;">
											<table bgcolor="white" cellpadding="0" cellspacing="0" width="758">
												<tbody>

													<tr>
														<td><span style="font-family: Verdana; font-size: medium; font-weight: bold;">We are down for maintenance.</span><br><br>Sorry for the inconvenience. We'll be back shortly.</td>
													</tr>
												</tbody>
											</table>
										</div>

									</td>
								</tr>
								<tr>
									<td>
										<span>
            <table border="0" cellpadding="0" cellspacing="0" style="text-align: right;" width="100%">
             <tbody>
              <tr>
               <td>

                <span>
                 <span style="font-family: Verdana; font-size: smaller">Powered by <a href="http://force.com">force.com</a></span>
										</span>
									</td>
								</tr>
							</tbody>
						</table>

						</span>
					</td>
				</tr>
			</tbody>
		</table>
		</td>
		</tr>
		<tr>
			<td><br></td>
		</tr>
		<tr>
			<td></td>
		</tr>

		<tr>
			<td><br></td>
		</tr>
		</tbody>
		</table>
	</center>
	<!--  Served by force.com -->
</body>

</html>
<!-- Generated Tue, 15 Sep 2020 13:52:16 GMT (scl) -->

What I'm doing wrong?

Thanks in advance,​​​​​​​
 
Hi,

I'm trying to test the Salesforce REST API.
I was able to complete the OAuth 2.0 workflow, so I can get a OAuth token to perform the HTTP request. 
However, I'm always getting a 403 HTTP Status when I try to call the endpoint.

This is an example of the request I'm trying to execute: 
- GET eu40.lightning.force.com/services/data/v20.0/query/?q=SELECT+name+from+Account

I'm sending the token as the authorization header. However, I'm always getting the following error message:
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
</head>

<body>
	<center>
		<table bgcolor="white" style="align: center;">
			<tbody>
				<tr>
					<td><br><br></td>
				</tr>
				<tr>

					<td>
						<table bgcolor="white" cellpadding="0" cellspacing="0" style="border:1px solid #ccc;"
							width="758">
							<tbody>
								<tr>
									<td><br></td>
								</tr>
								<tr>
									<td>
										<div
											style="background-color: white; border: 1px solid #ccc; padding: 0px; margin-top: 10px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;">
											<table bgcolor="white" cellpadding="0" cellspacing="0" width="758">
												<tbody>

													<tr>
														<td><span style="font-family: Verdana; font-size: medium; font-weight: bold;">We are down for maintenance.</span><br><br>Sorry for the inconvenience. We'll be back shortly.</td>
													</tr>
												</tbody>
											</table>
										</div>

									</td>
								</tr>
								<tr>
									<td>
										<span>
            <table border="0" cellpadding="0" cellspacing="0" style="text-align: right;" width="100%">
             <tbody>
              <tr>
               <td>

                <span>
                 <span style="font-family: Verdana; font-size: smaller">Powered by <a href="http://force.com">force.com</a></span>
										</span>
									</td>
								</tr>
							</tbody>
						</table>

						</span>
					</td>
				</tr>
			</tbody>
		</table>
		</td>
		</tr>
		<tr>
			<td><br></td>
		</tr>
		<tr>
			<td></td>
		</tr>

		<tr>
			<td><br></td>
		</tr>
		</tbody>
		</table>
	</center>
	<!--  Served by force.com -->
</body>

</html>
<!-- Generated Tue, 15 Sep 2020 13:52:16 GMT (scl) -->

What I'm doing wrong?

Thanks in advance,​​​​​​​
 
Hi!

We are trying to identify the Terms of Use for using the Salesforce APIs (Rest and Bulk) via a "Connected App" (as described for "Access Data with API Integration" in this page: https://help.salesforce.com/articleView?id=connected_app_about.htm&type=5).

What we want to understand is what terms of use the APIs themselves have as well as when one uses such a "Connected App" configuration. And also if it matters, from a Terms of Use perspective, if the "Connected App" configuration is created in a "Developer Edition" account or in a "full" Salesforce Account.

Does anyone know?