bhukyayedukondalunaik_00285
10/01/2025, 12:20 PMlogin subdomain instead of the modified sandbox subdomain.
- As a result, I always get errors for sandbox users, while everything works correctly for production instances.
Please see the attached images for reference
Could you please check if the tool is properly handling the customized subdomain for sandbox environments?
I have checked the same in postman by altering the subdomain specific to the one that is on account, and I am able to get the response as expected. Please fix this on priority.
@udaysidagana
https://cdn.discordapp.com/attachments/1422921124563386428/1422921125104582771/image.png?ex=68de6e10&is=68dd1c90&hm=c9632d9040eec4df7811d5549c842d7f7b01b55e3847e07d35a3421644cfe158&
https://cdn.discordapp.com/attachments/1422921124563386428/1422921125851303966/image.png?ex=68de6e10&is=68dd1c90&hm=2fc0c53e7c9b6c7e8030febcdc23053a6d3da2492f4b00354097c5697358488a&
https://cdn.discordapp.com/attachments/1422921124563386428/1422921126249496606/image.png?ex=68de6e11&is=68dd1c91&hm=c182316aa5fe60f5ae30378a733f4202826e14865fd30936cfd59e13d36efdf6&
https://cdn.discordapp.com/attachments/1422921124563386428/1422921126757138463/image.png?ex=68de6e11&is=68dd1c91&hm=463460f28b8eac7d5601e64b965611d05ea411ceb69e5e705d16569d8eac4932&Composio Support Agent (Public)
10/01/2025, 1:05 PMbhukyayedukondalunaik_00285
10/01/2025, 2:16 PMbhukyayedukondalunaik_00285
10/01/2025, 2:16 PMComposio Support Agent (Public)
10/01/2025, 2:17 PMbhukyayedukondalunaik_00285
10/01/2025, 2:18 PMbhukyayedukondalunaik_00285
10/01/2025, 2:20 PMbhukyayedukondalunaik_00285
10/01/2025, 2:21 PMlogin.salesforce.com it should ideally go to {{subdomain}}.salesforce.com right ?Composio Support Agent (Public)
10/01/2025, 2:45 PMbhukyayedukondalunaik_00285
10/01/2025, 3:52 PMca_V8ZacPPeD31jbhukyayedukondalunaik_00285
10/01/2025, 3:56 PMComposio Support Agent (Public)
10/03/2025, 6:53 AMbhukyayedukondalunaik_00285
10/03/2025, 7:57 AMComposio Support Agent (Public)
10/03/2025, 8:14 AMbhukyayedukondalunaik_00285
10/03/2025, 9:07 AMComposio Support Agent (Public)
10/03/2025, 9:14 AMbhukyayedukondalunaik_00285
10/03/2025, 9:15 AMAs of why we hit login.salesforce.com instead of test.salesforce.com, earlier we used to have logic to construct the base_url before executing any salesforce but now we have removed it and ask for subdomain even before the connection is initiated.
whatever the subdomain is, shouldn't we get oauth2/userinfo from the specified subdomain ? if it doesnot construct the base_url using test , then how come it works for other subdomains ?bhukyayedukondalunaik_00285
10/03/2025, 9:20 AMca_aCk3a6X_bP2qbhukyayedukondalunaik_00285
10/03/2025, 9:22 AMca_7x9oyGqhBsvIComposio Support Agent (Public)
10/03/2025, 9:31 AMca_aCk3a6X_bP2q was successful. Did you not complete the OAuth2 flow for this connection ca_7x9oyGqhBsvI ?
Can you executing the actions for this connection ca_aCk3a6X_bP2q and see if they are working?bhukyayedukondalunaik_00285
10/03/2025, 9:39 AMbhukyayedukondalunaik_00285
10/03/2025, 9:40 AMbhukyayedukondalunaik_00285
10/03/2025, 9:42 AMComposio Support Agent (Public)
10/03/2025, 10:02 AMcurl --location 'https://backend.composio.dev/api/v3/tools/execute/SALESFORCE_LIST_ACCOUNTS' \
--header 'x-api-key: xxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"version": "latest",
"connected_account_id": "xxxxxxx",
"arguments": {}
}'
Could you execute the above cURL with your api key and connected account id?bhukyayedukondalunaik_00285
10/03/2025, 10:13 AMbhukyayedukondalunaik_00285
10/03/2025, 10:18 AMComposio Support Agent (Public)
10/03/2025, 10:22 AMbhukyayedukondalunaik_00285
10/03/2025, 10:25 AMabhishekpatil4
10/03/2025, 12:34 PMversion:latest.
Sharing some resources that might be helpful:
Versioning: https://docs.composio.dev/changelog/2025/9/16bhukyayedukondalunaik_00285
10/03/2025, 12:35 PMbhukyayedukondalunaik_00285
10/03/2025, 12:37 PMabhishekpatil4
10/03/2025, 12:39 PMbhukyayedukondalunaik_00285
10/03/2025, 12:40 PMbhukyayedukondalunaik_00285
10/03/2025, 12:40 PMbhukyayedukondalunaik_00285
10/03/2025, 12:41 PMbhukyayedukondalunaik_00285
10/03/2025, 12:42 PMbhukyayedukondalunaik_00285
10/03/2025, 12:43 PMbhukyayedukondalunaik_00285
10/03/2025, 12:58 PMabhishekpatil4
10/03/2025, 1:00 PMabhishekpatil4
10/03/2025, 1:01 PMbhukyayedukondalunaik_00285
10/03/2025, 1:01 PMbhukyayedukondalunaik_00285
10/03/2025, 1:02 PMabhishekpatil4
10/03/2025, 1:03 PMabhishekpatil4
10/03/2025, 1:42 PMfrom openai import OpenAI
from composio import Composio
from composio_openai import OpenAIProvider
openai = OpenAI()
composio = Composio(
api_key="",
provider=OpenAIProvider(),
)
tools = composio.tools.get(
user_id="default",
tools=["GMAIL_SEND_EMAIL"]
)
response = openai.chat.completions.create(
model="gpt-4",
tools=tools,
messages=[
{
"role": "user",
"content": ""
},
],
)
result = composio.provider.handle_tool_calls(
response=response,
user_id="default"
)
print("Result:", result)bhukyayedukondalunaik_00285
10/03/2025, 1:47 PMbhukyayedukondalunaik_00285
10/03/2025, 3:00 PM